summaryrefslogtreecommitdiff
path: root/tests/regressiontests/decorators
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regressiontests/decorators')
-rw-r--r--tests/regressiontests/decorators/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/decorators/tests.py b/tests/regressiontests/decorators/tests.py
index dceaa62abc..7dc36aa479 100644
--- a/tests/regressiontests/decorators/tests.py
+++ b/tests/regressiontests/decorators/tests.py
@@ -220,7 +220,7 @@ class MethodDecoratorTests(TestCase):
self.assertEqual(getattr(Test.method, 'myattr2', False), True)
self.assertEqual(Test.method.__doc__, 'A method')
- self.assertEqual(Test.method.__func__.__name__, 'method')
+ self.assertEqual(Test.method.__name__, 'method')
class XFrameOptionsDecoratorsTests(TestCase):