/third_party/python/Lib/test/ |
H A D | test_collections.py | 743 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 D | test_typing.py | 133 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 D | test_bool.py | 230 self.assertNotIsInstance(True & 1, bool) 234 self.assertNotIsInstance(True | 1, bool) 238 self.assertNotIsInstance(True ^ 1, bool)
|
H A D | test_winconsoleio.py | 123 self.assertNotIsInstance(f, ConIO)
|
H A D | test_ftplib.py | 940 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 D | test_hash.py | 147 self.assertNotIsInstance(obj, Hashable)
|
H A D | test_xml_etree_c.py | 208 self.assertNotIsInstance(cET.Element.__init__, types.FunctionType)
|
H A D | test_abc.py | 281 self.assertNotIsInstance(b, A) 282 self.assertNotIsInstance(b, (A,))
|
H A D | test_genericalias.py | 469 self.assertNotIsInstance(type_to_test, Iterable)
|
H A D | test_tcl.py | 378 self.assertNotIsInstance(result, bool)
|
H A D | test_io.py | 4079 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 D | test_types.py | 716 self.assertNotIsInstance(None, x) 733 self.assertNotIsInstance((), x)
|
H A D | test_descr.py | 5028 self.assertNotIsInstance(it, list) 5039 self.assertNotIsInstance(it, list) 5048 self.assertNotIsInstance(it, list)
|
H A D | test_mailbox.py | 41 self.assertNotIsInstance(part, mailbox.Message)
|
H A D | test_functools.py | 944 self.assertNotIsInstance(k, collections.abc.Hashable)
|
H A D | test_decimal.py | 2546 self.assertNotIsInstance(Decimal(0), numbers.Real)
|
/third_party/python/Lib/test/test_email/ |
H A D | test_parser.py | 85 self.assertNotIsInstance(msg, self.MyMessage)
|
H A D | test_policy.py | 225 self.assertNotIsInstance(h, headerregistry.UnstructuredHeader) 227 self.assertNotIsInstance(h, self.Foo)
|
H A D | test_email.py | 5249 self.assertNotIsInstance(param, tuple) 5417 self.assertNotIsInstance(param, tuple) 5463 self.assertNotIsInstance(param, tuple)
|
/third_party/python/Lib/unittest/test/testmock/ |
H A D | testhelpers.py | 866 self.assertNotIsInstance(none, type(None)) 1106 self.assertNotIsInstance(returned, PropertyMock) 1117 self.assertNotIsInstance(returned, PropertyMock)
|
H A D | testmock.py | 1247 self.assertNotIsInstance(mock.foo, Subclass) 1248 self.assertNotIsInstance(mock(), Subclass) 2135 self.assertNotIsInstance(mock, int)
|
/third_party/python/Lib/unittest/test/ |
H A D | test_case.py | 687 self.assertNotIsInstance(thing, dict) 688 self.assertRaises(self.failureException, self.assertNotIsInstance,
|
/third_party/python/Lib/unittest/ |
H A D | case.py | 1298 def assertNotIsInstance(self, obj, cls, msg=None): member in TestCase
|