Lines Matching refs:AbstractSuper
170 AbstractSuper = AbstractClass(bases=()) variable
172 AbstractChild = AbstractClass(bases=(AbstractSuper,))
193 self.assertEqual(False, isinstance(Super(), AbstractSuper))
197 self.assertEqual(False, isinstance(Child(), AbstractSuper))
201 self.assertEqual(True, isinstance(AbstractSuper(), AbstractSuper))
202 self.assertEqual(False, isinstance(AbstractSuper(), AbstractChild))
203 self.assertEqual(False, isinstance(AbstractSuper(), Super))
204 self.assertEqual(False, isinstance(AbstractSuper(), Child))
207 self.assertEqual(True, isinstance(AbstractChild(), AbstractSuper))
214 self.assertEqual(False, issubclass(Super, AbstractSuper))
219 self.assertEqual(False, issubclass(Child, AbstractSuper))
223 self.assertEqual(True, issubclass(AbstractSuper, AbstractSuper))
224 self.assertEqual(False, issubclass(AbstractSuper, AbstractChild))
225 self.assertEqual(False, issubclass(AbstractSuper, Child))
228 self.assertEqual(True, issubclass(AbstractChild, AbstractSuper))