Lines Matching refs:AbstractSuper
158 AbstractSuper = AbstractClass(bases=()) variable
160 AbstractChild = AbstractClass(bases=(AbstractSuper,))
190 self.assertEqual(False, isinstance(Super(), AbstractSuper))
194 self.assertEqual(False, isinstance(Child(), AbstractSuper))
198 self.assertEqual(True, isinstance(AbstractSuper(), AbstractSuper))
199 self.assertEqual(False, isinstance(AbstractSuper(), AbstractChild))
200 self.assertEqual(False, isinstance(AbstractSuper(), Super))
201 self.assertEqual(False, isinstance(AbstractSuper(), Child))
204 self.assertEqual(True, isinstance(AbstractChild(), AbstractSuper))
211 self.assertEqual(False, issubclass(Super, AbstractSuper))
216 self.assertEqual(False, issubclass(Child, AbstractSuper))
220 self.assertEqual(True, issubclass(AbstractSuper, AbstractSuper))
221 self.assertEqual(False, issubclass(AbstractSuper, AbstractChild))
222 self.assertEqual(False, issubclass(AbstractSuper, Child))
225 self.assertEqual(True, issubclass(AbstractChild, AbstractSuper))