Lines Matching refs:assertNotIsInstance
478 self.assertNotIsInstance(None, Callable)
489 self.assertNotIsInstance(None, Callable[[], None])
491 self.assertNotIsInstance(None, Callable[[], Any])
839 self.assertNotIsInstance(C(), P)
841 self.assertNotIsInstance(f, P)
884 self.assertNotIsInstance(D(), E)
885 self.assertNotIsInstance(E(), D)
959 self.assertNotIsInstance(C1(), P2)
960 self.assertNotIsInstance(C2(), P2)
994 self.assertNotIsInstance(C1(), P)
995 self.assertNotIsInstance(C2(), P)
1058 self.assertNotIsInstance(C(), D)
1121 self.assertNotIsInstance(MyPoint(), Point)
1126 self.assertNotIsInstance(Bad(), Proto)
1127 self.assertNotIsInstance(Bad(), Point)
1128 self.assertNotIsInstance(Bad(), Position)
1129 self.assertNotIsInstance(Bad(), Concrete)
1130 self.assertNotIsInstance(Other(), Concrete)
1158 self.assertNotIsInstance(Other1(), C)
1218 self.assertNotIsInstance(B(), P)
1219 self.assertNotIsInstance(C(), P)
1240 self.assertNotIsInstance(C(), NonP)
1241 self.assertNotIsInstance(D(), NonPR)
1262 self.assertNotIsInstance(BadClass(), C)
1463 self.assertNotIsInstance(B(), P)
1806 self.assertNotIsInstance({}, MyMapping)
1825 self.assertNotIsInstance(MM(), List)
1826 self.assertNotIsInstance({}, MM)
3365 self.assertNotIsInstance([], typing.Hashable)
3373 self.assertNotIsInstance(42, typing.Iterable)
3381 self.assertNotIsInstance(42, typing.Iterator)
3393 self.assertNotIsInstance(foo, typing.Awaitable)
3408 self.assertNotIsInstance(foo, typing.Coroutine)
3420 self.assertNotIsInstance(42, typing.AsyncIterable)
3427 self.assertNotIsInstance(42, typing.AsyncIterator)
3431 self.assertNotIsInstance(42, typing.Sized)
3435 self.assertNotIsInstance(42, typing.Container)
3442 self.assertNotIsInstance(42, typing.Collection)
3446 self.assertNotIsInstance(42, typing.AbstractSet)
3450 self.assertNotIsInstance(frozenset(), typing.MutableSet)
3454 self.assertNotIsInstance(42, typing.Mapping)
3458 self.assertNotIsInstance(42, typing.MutableMapping)
3462 self.assertNotIsInstance(42, typing.Sequence)
3466 self.assertNotIsInstance((), typing.MutableSequence)
3780 self.assertNotIsInstance(type(g), G)
3781 self.assertNotIsInstance(g, G)
3847 self.assertNotIsInstance(42, typing.ContextManager)
3854 self.assertNotIsInstance(NotACM(), typing.AsyncContextManager)
3860 self.assertNotIsInstance(cm, typing.AsyncContextManager)