diff options
| author | Claude Paroz <claude@2xlibre.net> | 2012-08-11 22:29:18 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2012-08-11 23:23:31 +0200 |
| commit | 66021033381f154ddf8a9ecf93fcbb41a7abda17 (patch) | |
| tree | 01b018cc8c8b7aadef6c4ba2f485b394e2cde92e /tests/regressiontests/decorators | |
| parent | 7d0f8831922535502569a5dda989dde339b4e491 (diff) | |
[py3] Various minor syntax fixes in the test suite
Diffstat (limited to 'tests/regressiontests/decorators')
| -rw-r--r-- | tests/regressiontests/decorators/tests.py | 2 |
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): |
