summaryrefslogtreecommitdiff
path: root/Lib/test/test_class.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_class.py')
-rw-r--r--Lib/test/test_class.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/test/test_class.py b/Lib/test/test_class.py
index e02a3cbb97..4d554a397b 100644
--- a/Lib/test/test_class.py
+++ b/Lib/test/test_class.py
@@ -568,15 +568,5 @@ class ClassTests(unittest.TestCase):
a = A(hash(A.f)^(-1))
hash(a.f)
- def test_class_repr(self):
- # We should get the address of the object
- class A:
- pass
-
- result = repr(A)
- self.assertRegex(result,
- "<class 'test.test_class.ClassTests.test_class_repr.<locals>.A'"
- " at 0x.+>")
-
if __name__ == '__main__':
unittest.main()