Lines Matching refs:Super
175 class Super: class
178 class Child(Super):
191 self.assertEqual(True, isinstance(Super(), Super))
192 self.assertEqual(False, isinstance(Super(), Child))
193 self.assertEqual(False, isinstance(Super(), AbstractSuper))
194 self.assertEqual(False, isinstance(Super(), AbstractChild))
196 self.assertEqual(True, isinstance(Child(), Super))
203 self.assertEqual(False, isinstance(AbstractSuper(), Super))
208 self.assertEqual(False, isinstance(AbstractChild(), Super))
213 self.assertEqual(True, issubclass(Super, Super))
214 self.assertEqual(False, issubclass(Super, AbstractSuper))
215 self.assertEqual(False, issubclass(Super, Child))
218 self.assertEqual(True, issubclass(Child, Super))
229 self.assertEqual(False, issubclass(AbstractChild, Super))
235 self.assertEqual(True, issubclass(Child, (Super,)))
236 self.assertEqual(False, issubclass(Super, (Child,)))
237 self.assertEqual(True, issubclass(Super, (Child, Super)))
239 self.assertEqual(True, issubclass(Super, (Child, (Super,))))