diff options
Diffstat (limited to 'Lib/test/test_abc.py')
-rw-r--r-- | Lib/test/test_abc.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/test/test_abc.py b/Lib/test/test_abc.py index 52d2187..d86f97c 100644 --- a/Lib/test/test_abc.py +++ b/Lib/test/test_abc.py @@ -98,13 +98,6 @@ class TestABC(unittest.TestCase): self.assertRaises(TypeError, F) # because bar is abstract now self.assertTrue(isabstract(F)) - def test_type_has_no_abstractmethods(self): - # type pretends not to have __abstractmethods__. - self.assertRaises(AttributeError, getattr, type, "__abstractmethods__") - class meta(type): - pass - self.assertRaises(AttributeError, getattr, meta, "__abstractmethods__") - def test_metaclass_abc(self): # Metaclasses can be ABCs, too. class A(metaclass=abc.ABCMeta): |