Home
last modified time | relevance | path

Searched refs:AbstractChild (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Lib/test/
Dtest_isinstance.py174 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 …]
Dtest_inspect.py300 class AbstractChild(AbstractClassExample): class
302 class AbstractGrandchild(AbstractChild):