Searched refs:assertNotIsInstance (Results 1 – 25 of 39) sorted by relevance
12
/external/python/cpython3/Lib/test/ |
D | test_collections.py | 473 self.assertNotIsInstance(C(), abc) 537 self.assertNotIsInstance(x, Awaitable) 549 self.assertNotIsInstance(c, Awaitable) 587 self.assertNotIsInstance(x, Coroutine) 599 self.assertNotIsInstance(c, Coroutine) 631 self.assertNotIsInstance(x, Hashable) 662 self.assertNotIsInstance(x, AsyncIterable) 678 self.assertNotIsInstance(x, AsyncIterator) 684 self.assertNotIsInstance(AnextOnly(), AsyncIterator) 691 self.assertNotIsInstance(x, Iterable) [all …]
|
D | test_typing.py | 429 self.assertNotIsInstance(None, Callable) 439 self.assertNotIsInstance(None, Callable[[], None]) 441 self.assertNotIsInstance(None, Callable[[], Any]) 714 self.assertNotIsInstance({}, MyMapping) 733 self.assertNotIsInstance(MM(), List) 734 self.assertNotIsInstance({}, MM) 1678 self.assertNotIsInstance([], typing.Hashable) 1686 self.assertNotIsInstance(42, typing.Iterable) 1694 self.assertNotIsInstance(42, typing.Iterator) 1706 self.assertNotIsInstance(foo, typing.Awaitable) [all …]
|
D | test_bool.py | 231 self.assertNotIsInstance(True & 1, bool) 235 self.assertNotIsInstance(True | 1, bool) 239 self.assertNotIsInstance(True ^ 1, bool)
|
D | test_ftplib.py | 858 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket) 865 self.assertNotIsInstance(sock, ssl.SSLSocket) 877 self.assertNotIsInstance(sock, ssl.SSLSocket) 882 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket) 912 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket)
|
D | test_xml_etree_c.py | 91 self.assertNotIsInstance(cET.Element.__init__, types.FunctionType)
|
D | test_abc.py | 259 self.assertNotIsInstance(b, A) 260 self.assertNotIsInstance(b, (A,))
|
D | test_winconsoleio.py | 122 self.assertNotIsInstance(f, ConIO)
|
D | test_hash.py | 147 self.assertNotIsInstance(obj, Hashable)
|
D | test_plistlib.py | 176 self.assertNotIsInstance(pl, plistlib._InternalDict)
|
D | test_io.py | 3513 self.assertNotIsInstance(f, abcmodule.BufferedIOBase) 3514 self.assertNotIsInstance(f, abcmodule.TextIOBase) 3517 self.assertNotIsInstance(f, abcmodule.RawIOBase) 3519 self.assertNotIsInstance(f, abcmodule.TextIOBase) 3522 self.assertNotIsInstance(f, abcmodule.RawIOBase) 3523 self.assertNotIsInstance(f, abcmodule.BufferedIOBase)
|
D | test_tcl.py | 358 self.assertNotIsInstance(result, bool)
|
/external/python/cpython2/Lib/test/ |
D | test_collections.py | 297 self.assertNotIsInstance(C(), abc) 301 self.assertNotIsInstance(C(), abc) 341 self.assertNotIsInstance(x, Hashable) 368 self.assertNotIsInstance(x, Iterable) 393 self.assertNotIsInstance(x, Iterator) 413 self.assertNotIsInstance(NextOnly(), Iterator) 418 self.assertNotIsInstance(NextOnlyNew(), Iterator) 426 self.assertNotIsInstance(x, Sized) 444 self.assertNotIsInstance(x, Container) 463 self.assertNotIsInstance(x, Callable) [all …]
|
D | test_abc.py | 92 self.assertNotIsInstance(b, A) 93 self.assertNotIsInstance(b, (A,))
|
D | test_ftplib.py | 661 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket) 668 self.assertNotIsInstance(sock, ssl.SSLSocket) 682 self.assertNotIsInstance(sock, ssl.SSLSocket) 688 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket) 718 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket)
|
D | test_bool.py | 251 self.assertNotIsInstance(True & 1, bool) 255 self.assertNotIsInstance(True | 1, bool) 259 self.assertNotIsInstance(True ^ 1, bool)
|
D | test_typechecks.py | 82 self.assertNotIsInstance(3, X)
|
D | test_hash.py | 120 self.assertNotIsInstance(obj, Hashable)
|
D | test_io.py | 2974 self.assertNotIsInstance(f, abcmodule.BufferedIOBase) 2975 self.assertNotIsInstance(f, abcmodule.TextIOBase) 2978 self.assertNotIsInstance(f, abcmodule.RawIOBase) 2980 self.assertNotIsInstance(f, abcmodule.TextIOBase) 2983 self.assertNotIsInstance(f, abcmodule.RawIOBase) 2984 self.assertNotIsInstance(f, abcmodule.BufferedIOBase)
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_parser.py | 85 self.assertNotIsInstance(msg, self.MyMessage)
|
D | test_policy.py | 212 self.assertNotIsInstance(h, headerregistry.UnstructuredHeader) 214 self.assertNotIsInstance(h, self.Foo)
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testmock.py | 932 self.assertNotIsInstance(mock.foo, Subclass) 933 self.assertNotIsInstance(mock(), Subclass) 1561 self.assertNotIsInstance(mock, int)
|
D | testhelpers.py | 790 self.assertNotIsInstance(none, type(None)) 927 self.assertNotIsInstance(returned, PropertyMock)
|
/external/python/cpython2/Lib/unittest/test/ |
D | test_case.py | 452 self.assertNotIsInstance(thing, dict) 453 self.assertRaises(self.failureException, self.assertNotIsInstance,
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_case.py | 630 self.assertNotIsInstance(thing, dict) 631 self.assertRaises(self.failureException, self.assertNotIsInstance,
|
/external/python/cpython2/Lib/email/test/ |
D | test_email.py | 3346 self.assertNotIsInstance(param, tuple) 3499 self.assertNotIsInstance(param, tuple) 3523 self.assertNotIsInstance(param, tuple)
|
12