Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_isinstance.py160 AbstractChild = AbstractClass(bases=(AbstractSuper,)) variable
191 self.assertEqual(False, isinstance(Super(), AbstractChild))
199 self.assertEqual(False, isinstance(AbstractSuper(), AbstractChild))
203 self.assertEqual(True, isinstance(AbstractChild(), AbstractChild))
204 self.assertEqual(True, isinstance(AbstractChild(), AbstractSuper))
205 self.assertEqual(False, isinstance(AbstractChild(), Super))
206 self.assertEqual(False, isinstance(AbstractChild(), Child))
221 self.assertEqual(False, issubclass(AbstractSuper, AbstractChild))
224 self.assertEqual(True, issubclass(AbstractChild, AbstractChild))
225 self.assertEqual(True, issubclass(AbstractChild, AbstractSuper))
[all …]