Home
last modified time | relevance | path

Searched refs:assertNotIsInstance (Results 1 - 23 of 23) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_collections.py743 self.assertNotIsInstance(C(), abc)
809 self.assertNotIsInstance(x, Awaitable)
821 self.assertNotIsInstance(c, Awaitable)
861 self.assertNotIsInstance(x, Coroutine)
873 self.assertNotIsInstance(c, Coroutine)
905 self.assertNotIsInstance(x, Hashable)
936 self.assertNotIsInstance(x, AsyncIterable)
952 self.assertNotIsInstance(x, AsyncIterator)
958 self.assertNotIsInstance(AnextOnly(), AsyncIterator)
965 self.assertNotIsInstance(
[all...]
H A Dtest_typing.py133 self.assertNotIsInstance(Something(), Mock)
1939 self.assertNotIsInstance(None, Callable)
1950 self.assertNotIsInstance(None, Callable[[], None])
1952 self.assertNotIsInstance(None, Callable[[], Any])
2421 self.assertNotIsInstance(C(), P)
2423 self.assertNotIsInstance(f, P)
2466 self.assertNotIsInstance(D(), E)
2467 self.assertNotIsInstance(E(), D)
2567 self.assertNotIsInstance(C1(), P2)
2568 self.assertNotIsInstance(C
[all...]
H A Dtest_bool.py230 self.assertNotIsInstance(True & 1, bool)
234 self.assertNotIsInstance(True | 1, bool)
238 self.assertNotIsInstance(True ^ 1, bool)
H A Dtest_winconsoleio.py123 self.assertNotIsInstance(f, ConIO)
H A Dtest_ftplib.py940 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket)
947 self.assertNotIsInstance(sock, ssl.SSLSocket)
965 self.assertNotIsInstance(sock, ssl.SSLSocket)
972 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket)
996 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket)
H A Dtest_hash.py147 self.assertNotIsInstance(obj, Hashable)
H A Dtest_xml_etree_c.py208 self.assertNotIsInstance(cET.Element.__init__, types.FunctionType)
H A Dtest_abc.py281 self.assertNotIsInstance(b, A)
282 self.assertNotIsInstance(b, (A,))
H A Dtest_genericalias.py469 self.assertNotIsInstance(type_to_test, Iterable)
H A Dtest_tcl.py378 self.assertNotIsInstance(result, bool)
H A Dtest_io.py4079 self.assertNotIsInstance(f, abcmodule.BufferedIOBase)
4080 self.assertNotIsInstance(f, abcmodule.TextIOBase)
4083 self.assertNotIsInstance(f, abcmodule.RawIOBase)
4085 self.assertNotIsInstance(f, abcmodule.TextIOBase)
4088 self.assertNotIsInstance(f, abcmodule.RawIOBase)
4089 self.assertNotIsInstance(f, abcmodule.BufferedIOBase)
H A Dtest_types.py716 self.assertNotIsInstance(None, x)
733 self.assertNotIsInstance((), x)
H A Dtest_descr.py5028 self.assertNotIsInstance(it, list)
5039 self.assertNotIsInstance(it, list)
5048 self.assertNotIsInstance(it, list)
H A Dtest_mailbox.py41 self.assertNotIsInstance(part, mailbox.Message)
H A Dtest_functools.py944 self.assertNotIsInstance(k, collections.abc.Hashable)
H A Dtest_decimal.py2546 self.assertNotIsInstance(Decimal(0), numbers.Real)
/third_party/python/Lib/test/test_email/
H A Dtest_parser.py85 self.assertNotIsInstance(msg, self.MyMessage)
H A Dtest_policy.py225 self.assertNotIsInstance(h, headerregistry.UnstructuredHeader)
227 self.assertNotIsInstance(h, self.Foo)
H A Dtest_email.py5249 self.assertNotIsInstance(param, tuple)
5417 self.assertNotIsInstance(param, tuple)
5463 self.assertNotIsInstance(param, tuple)
/third_party/python/Lib/unittest/test/testmock/
H A Dtesthelpers.py866 self.assertNotIsInstance(none, type(None))
1106 self.assertNotIsInstance(returned, PropertyMock)
1117 self.assertNotIsInstance(returned, PropertyMock)
H A Dtestmock.py1247 self.assertNotIsInstance(mock.foo, Subclass)
1248 self.assertNotIsInstance(mock(), Subclass)
2135 self.assertNotIsInstance(mock, int)
/third_party/python/Lib/unittest/test/
H A Dtest_case.py687 self.assertNotIsInstance(thing, dict)
688 self.assertRaises(self.failureException, self.assertNotIsInstance,
/third_party/python/Lib/unittest/
H A Dcase.py1298 def assertNotIsInstance(self, obj, cls, msg=None): member in TestCase

Completed in 76 milliseconds