summaryrefslogtreecommitdiff
path: root/django/contrib/auth/tests/management.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/contrib/auth/tests/management.py')
-rw-r--r--django/contrib/auth/tests/management.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/tests/management.py b/django/contrib/auth/tests/management.py
index 3708cc8bd0..5d31bd70a4 100644
--- a/django/contrib/auth/tests/management.py
+++ b/django/contrib/auth/tests/management.py
@@ -50,7 +50,7 @@ class ChangepasswordManagementCommandTestCase(TestCase):
command.execute("joe", stdout=self.stdout)
command_output = self.stdout.getvalue().strip()
- self.assertEquals(command_output, "Changing password for user 'joe'\nPassword changed successfully for user 'joe'")
+ self.assertEqual(command_output, "Changing password for user 'joe'\nPassword changed successfully for user 'joe'")
self.assertTrue(models.User.objects.get(username="joe").check_password("not qwerty"))
def test_that_max_tries_exits_1(self):