Lines Matching refs:Super
163 class Super: class
166 class Child(Super):
188 self.assertEqual(True, isinstance(Super(), Super))
189 self.assertEqual(False, isinstance(Super(), Child))
190 self.assertEqual(False, isinstance(Super(), AbstractSuper))
191 self.assertEqual(False, isinstance(Super(), AbstractChild))
193 self.assertEqual(True, isinstance(Child(), Super))
200 self.assertEqual(False, isinstance(AbstractSuper(), Super))
205 self.assertEqual(False, isinstance(AbstractChild(), Super))
210 self.assertEqual(True, issubclass(Super, Super))
211 self.assertEqual(False, issubclass(Super, AbstractSuper))
212 self.assertEqual(False, issubclass(Super, Child))
215 self.assertEqual(True, issubclass(Child, Super))
226 self.assertEqual(False, issubclass(AbstractChild, Super))
232 self.assertEqual(True, issubclass(Child, (Super,)))
233 self.assertEqual(False, issubclass(Super, (Child,)))
234 self.assertEqual(True, issubclass(Super, (Child, Super)))
236 self.assertEqual(True, issubclass(Super, (Child, (Super,))))