mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
[py3] Various minor syntax fixes in the test suite
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user