Searched refs:assertNotIsInstance (Results 1 – 24 of 24) sorted by relevance
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)[all …]
729 self.assertNotIsInstance(C(), abc)793 self.assertNotIsInstance(x, Awaitable)805 self.assertNotIsInstance(c, Awaitable)843 self.assertNotIsInstance(x, Coroutine)855 self.assertNotIsInstance(c, Coroutine)887 self.assertNotIsInstance(x, Hashable)918 self.assertNotIsInstance(x, AsyncIterable)934 self.assertNotIsInstance(x, AsyncIterator)940 self.assertNotIsInstance(AnextOnly(), AsyncIterator)947 self.assertNotIsInstance(x, Iterable)[all …]
224 self.assertNotIsInstance(True & 1, bool)228 self.assertNotIsInstance(True | 1, bool)232 self.assertNotIsInstance(True ^ 1, bool)
933 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket)940 self.assertNotIsInstance(sock, ssl.SSLSocket)958 self.assertNotIsInstance(sock, ssl.SSLSocket)965 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket)989 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket)
123 self.assertNotIsInstance(f, ConIO)
208 self.assertNotIsInstance(cET.Element.__init__, types.FunctionType)
147 self.assertNotIsInstance(obj, Hashable)
281 self.assertNotIsInstance(b, A)282 self.assertNotIsInstance(b, (A,))
4068 self.assertNotIsInstance(f, abcmodule.BufferedIOBase)4069 self.assertNotIsInstance(f, abcmodule.TextIOBase)4072 self.assertNotIsInstance(f, abcmodule.RawIOBase)4074 self.assertNotIsInstance(f, abcmodule.TextIOBase)4077 self.assertNotIsInstance(f, abcmodule.RawIOBase)4078 self.assertNotIsInstance(f, abcmodule.BufferedIOBase)
395 self.assertNotIsInstance(result, bool)
4951 self.assertNotIsInstance(it, list)4962 self.assertNotIsInstance(it, list)4971 self.assertNotIsInstance(it, list)
703 self.assertNotIsInstance(None, x)
36 self.assertNotIsInstance(part, mailbox.Message)
944 self.assertNotIsInstance(k, collections.abc.Hashable)
2485 self.assertNotIsInstance(Decimal(0), numbers.Real)
85 self.assertNotIsInstance(msg, self.MyMessage)
225 self.assertNotIsInstance(h, headerregistry.UnstructuredHeader)227 self.assertNotIsInstance(h, self.Foo)
5192 self.assertNotIsInstance(param, tuple)5351 self.assertNotIsInstance(param, tuple)5397 self.assertNotIsInstance(param, tuple)
866 self.assertNotIsInstance(none, type(None))1088 self.assertNotIsInstance(returned, PropertyMock)
1239 self.assertNotIsInstance(mock.foo, Subclass)1240 self.assertNotIsInstance(mock(), Subclass)2111 self.assertNotIsInstance(mock, int)
656 self.assertNotIsInstance(thing, dict)657 self.assertRaises(self.failureException, self.assertNotIsInstance,
1271 def assertNotIsInstance(self, obj, cls, msg=None): member in TestCase
854 | :meth:`assertNotIsInstance(a, b) | ``not isinstance(a, b)`` | 3.2 |855 | <TestCase.assertNotIsInstance>` | | |926 assertNotIsInstance(obj, cls, msg=None)
1925 :meth:`~unittest.TestCase.assertNotIsInstance` check whether