• Home
  • Raw
  • Download

Lines Matching refs:issubclass

560         self.assertTrue(issubclass(C, abc))
564 self.assertFalse(issubclass(C, abc))
628 self.assertFalse(issubclass(type(x), Awaitable), repr(type(x)))
633 self.assertTrue(issubclass(type(x), Awaitable))
648 self.assertTrue(issubclass(CoroLike, Awaitable))
678 self.assertFalse(issubclass(type(x), Coroutine), repr(type(x)))
683 self.assertTrue(issubclass(type(x), Awaitable))
705 self.assertTrue(issubclass(CoroLike, Coroutine))
715 self.assertFalse(issubclass(CoroLike, Coroutine))
722 self.assertFalse(issubclass(type(x), Hashable), repr(type(x)))
732 self.assertTrue(issubclass(type(x), Hashable), repr(type(x)))
739 self.assertFalse(issubclass(int, H))
748 self.assertTrue(issubclass(AI, AsyncIterable))
753 self.assertFalse(issubclass(type(x), AsyncIterable), repr(type(x)))
764 self.assertTrue(issubclass(AI, AsyncIterator))
769 self.assertFalse(issubclass(type(x), AsyncIterator), repr(type(x)))
782 self.assertFalse(issubclass(type(x), Iterable), repr(type(x)))
792 self.assertTrue(issubclass(type(x), Iterable), repr(type(x)))
798 self.assertFalse(issubclass(str, I))
806 self.assertTrue(issubclass(It, Iterable))
808 self.assertFalse(issubclass(ItBlocked, Iterable))
816 self.assertFalse(issubclass(type(x), Reversible), repr(type(x)))
824 self.assertFalse(issubclass(type(x), Reversible), repr(type(x)))
831 self.assertTrue(issubclass(type(x), Reversible), repr(type(x)))
833 self.assertTrue(issubclass(Sequence, Reversible), repr(Sequence))
834 self.assertFalse(issubclass(Mapping, Reversible), repr(Mapping))
835 self.assertFalse(issubclass(MutableMapping, Reversible), repr(MutableMapping))
843 self.assertFalse(issubclass(float, R))
850 self.assertFalse(issubclass(RevNoIter, Reversible))
852 self.assertTrue(issubclass(RevPlusIter, Reversible))
862 self.assertTrue(issubclass(Rev, Reversible))
864 self.assertFalse(issubclass(RevItBlocked, Reversible))
866 self.assertFalse(issubclass(RevRevBlocked, Reversible))
874 self.assertFalse(issubclass(type(x), Collection), repr(type(x)))
880 self.assertFalse(issubclass(type(x), Collection), repr(type(x)))
886 self.assertTrue(issubclass(type(x), Collection), repr(type(x)))
888 self.assertTrue(issubclass(Sequence, Collection), repr(Sequence))
889 self.assertTrue(issubclass(Mapping, Collection), repr(Mapping))
890 self.assertTrue(issubclass(MutableMapping, Collection),
892 self.assertTrue(issubclass(Set, Collection), repr(Set))
893 self.assertTrue(issubclass(MutableSet, Collection), repr(MutableSet))
894 self.assertTrue(issubclass(Sequence, Collection), repr(MutableSet))
905 self.assertFalse(issubclass(list, Col))
906 self.assertFalse(issubclass(set, Col))
907 self.assertFalse(issubclass(float, Col))
909 self.assertFalse(issubclass(list, DerCol))
910 self.assertFalse(issubclass(set, DerCol))
911 self.assertFalse(issubclass(float, DerCol))
924 self.assertFalse(issubclass(ColNoIter, Collection))
926 self.assertFalse(issubclass(ColNoSize, Collection))
928 self.assertFalse(issubclass(ColNoCont, Collection))
939 self.assertFalse(issubclass(SizeBlock, Collection))
941 self.assertFalse(issubclass(IterBlock, Collection))
953 self.assertFalse(issubclass(NonCol, Collection))
961 self.assertFalse(issubclass(type(x), Iterator), repr(type(x)))
972 self.assertTrue(issubclass(type(x), Iterator), repr(type(x)))
1005 self.assertFalse(issubclass(type(x), Generator), repr(type(x)))
1027 self.assertTrue(issubclass(type(x), Generator), repr(type(x)))
1076 self.assertFalse(issubclass(type(x), AsyncGenerator), repr(type(x)))
1098 self.assertTrue(issubclass(type(x), AsyncGenerator), repr(type(x)))
1141 self.assertFalse(issubclass(type(x), Sized), repr(type(x)))
1148 self.assertTrue(issubclass(type(x), Sized), repr(type(x)))
1159 self.assertFalse(issubclass(type(x), Container), repr(type(x)))
1166 self.assertTrue(issubclass(type(x), Container), repr(type(x)))
1178 self.assertFalse(issubclass(type(x), Callable), repr(type(x)))
1186 self.assertTrue(issubclass(type(x), Callable), repr(type(x)))
1194 self.assertTrue(issubclass(C, B))
1195 self.assertFalse(issubclass(int, C))
1201 self.assertFalse(issubclass(C, B), B.__name__)
1203 self.assertTrue(issubclass(C, B))
1234 self.assertTrue(issubclass(sample, Set))
1315 self.assertTrue(issubclass(set, MutableSet))
1317 self.assertFalse(issubclass(frozenset, MutableSet))
1586 self.assertTrue(issubclass(sample, Mapping))
1602 self.assertTrue(issubclass(sample, MutableMapping))
1634 self.assertTrue(issubclass(sample, Sequence))
1636 self.assertTrue(issubclass(range, Sequence))
1638 self.assertTrue(issubclass(memoryview, Sequence))
1639 self.assertTrue(issubclass(str, Sequence))
1681 self.assertTrue(issubclass(sample, ByteString))
1684 self.assertFalse(issubclass(sample, ByteString))
1686 self.assertFalse(issubclass(memoryview, ByteString))
1691 self.assertFalse(issubclass(sample, MutableSequence))
1694 self.assertTrue(issubclass(sample, MutableSequence))
1695 self.assertFalse(issubclass(str, MutableSequence))
1768 self.assertTrue(issubclass(Counter, dict))
1769 self.assertTrue(issubclass(Counter, Mapping))