• Home
  • Raw
  • Download

Lines Matching refs:issubclass

260             self.assertFalse(issubclass(B, A))
261 self.assertFalse(issubclass(B, (A,)))
265 self.assertTrue(issubclass(B, A))
266 self.assertTrue(issubclass(B, (A,)))
273 self.assertTrue(issubclass(C, A))
274 self.assertTrue(issubclass(C, (A,)))
285 self.assertTrue(issubclass(B, A))
286 self.assertTrue(issubclass(B, (A,)))
293 self.assertTrue(issubclass(C, A))
294 self.assertTrue(issubclass(C, (A,)))
320 self.assertTrue(issubclass(int, A))
321 self.assertTrue(issubclass(int, (A,)))
328 self.assertTrue(issubclass(str, A))
329 self.assertTrue(issubclass(str, (A,)))
330 self.assertTrue(issubclass(C, A))
331 self.assertTrue(issubclass(C, (A,)))
359 self.assertTrue(issubclass(A, A))
360 self.assertTrue(issubclass(A, (A,)))
363 self.assertFalse(issubclass(A, B))
364 self.assertFalse(issubclass(A, (B,)))
365 self.assertFalse(issubclass(B, A))
366 self.assertFalse(issubclass(B, (A,)))
372 self.assertTrue(issubclass(B1, A))
373 self.assertTrue(issubclass(B1, (A,)))
377 self.assertFalse(issubclass(C, B))
378 self.assertFalse(issubclass(C, (B,)))
379 self.assertFalse(issubclass(C, B1))
380 self.assertFalse(issubclass(C, (B1,)))
381 self.assertTrue(issubclass(C1, A))
382 self.assertTrue(issubclass(C1, (A,)))
383 self.assertTrue(issubclass(C1, B))
384 self.assertTrue(issubclass(C1, (B,)))
385 self.assertTrue(issubclass(C1, B1))
386 self.assertTrue(issubclass(C1, (B1,)))
390 self.assertTrue(issubclass(MyInt, A))
391 self.assertTrue(issubclass(MyInt, (A,)))
400 issubclass({}, A) # unhashable
403 issubclass(42, A) # No __mro__
411 issubclass(C(), A)
428 issubclass(int, S)
441 issubclass(int, S)