diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-07-14 04:13:29 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-07-14 04:13:29 (GMT) |
commit | ab078e9ed1a5d1b693d6ee843f1a34e8993e9dee (patch) | |
tree | 55e6e21b81315f126e76357af7e545cfe498d778 /Lib/test/test_class.py | |
parent | fb4f8257bfa4471764e10c1d8525a5bb7b0145e5 (diff) | |
download | cpython-ab078e9ed1a5d1b693d6ee843f1a34e8993e9dee.zip cpython-ab078e9ed1a5d1b693d6ee843f1a34e8993e9dee.tar.gz cpython-ab078e9ed1a5d1b693d6ee843f1a34e8993e9dee.tar.bz2 |
Backed out changeset af29d89083b3 (closes #25548) (closes #27498)
Diffstat (limited to 'Lib/test/test_class.py')
-rw-r--r-- | Lib/test/test_class.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/test/test_class.py b/Lib/test/test_class.py index e02a3cb..4d554a3 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() |