Searched refs:assertNotIsInstance (Results 1 – 25 of 44) sorted by relevance
12
/external/tensorflow/tensorflow/python/keras/ |
D | keras_parameterized_test.py | 64 self.assertNotIsInstance(models[0], keras.models.Sequential) 65 self.assertNotIsInstance(models[1], keras.models.Sequential) 113 self.assertNotIsInstance(models[0], keras.models.Sequential) 114 self.assertNotIsInstance(models[1], keras.models.Sequential) 154 self.assertNotIsInstance(models[0], keras.models.Sequential) 155 self.assertNotIsInstance(models[1], keras.models.Sequential) 193 self.assertNotIsInstance(models[0], keras.models.Sequential)
|
/external/python/cpython3/Lib/test/ |
D | test_collections.py | 563 self.assertNotIsInstance(C(), abc) 627 self.assertNotIsInstance(x, Awaitable) 639 self.assertNotIsInstance(c, Awaitable) 677 self.assertNotIsInstance(x, Coroutine) 689 self.assertNotIsInstance(c, Coroutine) 721 self.assertNotIsInstance(x, Hashable) 752 self.assertNotIsInstance(x, AsyncIterable) 768 self.assertNotIsInstance(x, AsyncIterator) 774 self.assertNotIsInstance(AnextOnly(), AsyncIterator) 781 self.assertNotIsInstance(x, Iterable) [all …]
|
D | test_typing.py | 457 self.assertNotIsInstance(None, Callable) 467 self.assertNotIsInstance(None, Callable[[], None]) 469 self.assertNotIsInstance(None, Callable[[], Any]) 769 self.assertNotIsInstance({}, MyMapping) 788 self.assertNotIsInstance(MM(), List) 789 self.assertNotIsInstance({}, MM) 1893 self.assertNotIsInstance([], typing.Hashable) 1901 self.assertNotIsInstance(42, typing.Iterable) 1909 self.assertNotIsInstance(42, typing.Iterator) 1921 self.assertNotIsInstance(foo, typing.Awaitable) [all …]
|
D | test_bool.py | 235 self.assertNotIsInstance(True & 1, bool) 239 self.assertNotIsInstance(True | 1, bool) 243 self.assertNotIsInstance(True ^ 1, bool)
|
D | test_ftplib.py | 875 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket) 882 self.assertNotIsInstance(sock, ssl.SSLSocket) 898 self.assertNotIsInstance(sock, ssl.SSLSocket) 904 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket) 928 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket)
|
D | test_winconsoleio.py | 122 self.assertNotIsInstance(f, ConIO)
|
D | test_xml_etree_c.py | 181 self.assertNotIsInstance(cET.Element.__init__, types.FunctionType)
|
D | test_abc.py | 262 self.assertNotIsInstance(b, A) 263 self.assertNotIsInstance(b, (A,))
|
D | test_hash.py | 147 self.assertNotIsInstance(obj, Hashable)
|
D | test_io.py | 3904 self.assertNotIsInstance(f, abcmodule.BufferedIOBase) 3905 self.assertNotIsInstance(f, abcmodule.TextIOBase) 3908 self.assertNotIsInstance(f, abcmodule.RawIOBase) 3910 self.assertNotIsInstance(f, abcmodule.TextIOBase) 3913 self.assertNotIsInstance(f, abcmodule.RawIOBase) 3914 self.assertNotIsInstance(f, abcmodule.BufferedIOBase)
|
/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 | 670 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket) 677 self.assertNotIsInstance(sock, ssl.SSLSocket) 695 self.assertNotIsInstance(sock, ssl.SSLSocket) 702 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket) 732 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 | 3051 self.assertNotIsInstance(f, abcmodule.BufferedIOBase) 3052 self.assertNotIsInstance(f, abcmodule.TextIOBase) 3055 self.assertNotIsInstance(f, abcmodule.RawIOBase) 3057 self.assertNotIsInstance(f, abcmodule.TextIOBase) 3060 self.assertNotIsInstance(f, abcmodule.RawIOBase) 3061 self.assertNotIsInstance(f, abcmodule.BufferedIOBase)
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | serialization_test.py | 84 self.assertNotIsInstance(new_layer, rnn_v2.LSTM) 98 self.assertNotIsInstance(new_layer, rnn_v2.GRU)
|
/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/mock/mock/tests/ |
D | testhelpers.py | 838 self.assertNotIsInstance(none, type(None)) 971 self.assertNotIsInstance(returned, PropertyMock)
|
D | testmock.py | 966 self.assertNotIsInstance(mock.foo, Subclass) 967 self.assertNotIsInstance(mock(), Subclass) 1567 self.assertNotIsInstance(mock, int)
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testhelpers.py | 810 self.assertNotIsInstance(none, type(None)) 1002 self.assertNotIsInstance(returned, PropertyMock)
|
D | testmock.py | 1105 self.assertNotIsInstance(mock.foo, Subclass) 1106 self.assertNotIsInstance(mock(), Subclass) 1781 self.assertNotIsInstance(mock, int)
|
/external/python/cpython2/Lib/unittest/test/ |
D | test_case.py | 452 self.assertNotIsInstance(thing, dict) 453 self.assertRaises(self.failureException, self.assertNotIsInstance,
|
12