MCPcopy Index your code
hub / github.com/python/cpython / E

Class E

Lib/test/test_abc.py:187–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185 self.assertRaises(TypeError, D) # because foo is still abstract
186 self.assertTrue(isabstract(D))
187 class E(D):
188 def foo(self): pass
189 self.assertEqual(E.__abstractmethods__, set())
190 E() # now foo is concrete, too
191 self.assertFalse(isabstract(E))

Calls

no outgoing calls