summaryrefslogtreecommitdiff
path: root/tests/regressiontests/decorators/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regressiontests/decorators/tests.py')
-rw-r--r--tests/regressiontests/decorators/tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/regressiontests/decorators/tests.py b/tests/regressiontests/decorators/tests.py
index ba0aa3535f..c7dc2819cf 100644
--- a/tests/regressiontests/decorators/tests.py
+++ b/tests/regressiontests/decorators/tests.py
@@ -56,9 +56,9 @@ class DecoratorsTest(TestCase):
Tests that django decorators set certain attributes of the wrapped
function.
"""
- self.assertEquals(fully_decorated.__name__, 'fully_decorated')
- self.assertEquals(fully_decorated.__doc__, 'Expected __doc__')
- self.assertEquals(fully_decorated.__dict__['anything'], 'Expected __dict__')
+ self.assertEqual(fully_decorated.__name__, 'fully_decorated')
+ self.assertEqual(fully_decorated.__doc__, 'Expected __doc__')
+ self.assertEqual(fully_decorated.__dict__['anything'], 'Expected __dict__')
def test_user_passes_test_composition(self):
"""