Searched refs:AbstractChild (Results 1 – 2 of 2) sorted by relevance
/third_party/python/Lib/test/ |
D | test_isinstance.py | 174 AbstractChild = AbstractClass(bases=(AbstractSuper,)) variable 196 self.assertEqual(False, isinstance(Super(), AbstractChild)) 204 self.assertEqual(False, isinstance(AbstractSuper(), AbstractChild)) 208 self.assertEqual(True, isinstance(AbstractChild(), AbstractChild)) 209 self.assertEqual(True, isinstance(AbstractChild(), AbstractSuper)) 210 self.assertEqual(False, isinstance(AbstractChild(), Super)) 211 self.assertEqual(False, isinstance(AbstractChild(), Child)) 247 self.assertEqual(False, issubclass(AbstractSuper, AbstractChild)) 250 self.assertEqual(True, issubclass(AbstractChild, AbstractChild)) 251 self.assertEqual(True, issubclass(AbstractChild, AbstractSuper)) [all …]
|
D | test_inspect.py | 300 class AbstractChild(AbstractClassExample): class 302 class AbstractGrandchild(AbstractChild):
|