Home
last modified time | relevance | path

Searched refs:assertNotIsInstance (Results 1 – 25 of 44) sorted by relevance

12

/external/tensorflow/tensorflow/python/keras/
Dkeras_parameterized_test.py64 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/
Dtest_collections.py563 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 …]
Dtest_typing.py457 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 …]
Dtest_bool.py235 self.assertNotIsInstance(True & 1, bool)
239 self.assertNotIsInstance(True | 1, bool)
243 self.assertNotIsInstance(True ^ 1, bool)
Dtest_ftplib.py875 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)
Dtest_winconsoleio.py122 self.assertNotIsInstance(f, ConIO)
Dtest_xml_etree_c.py181 self.assertNotIsInstance(cET.Element.__init__, types.FunctionType)
Dtest_abc.py262 self.assertNotIsInstance(b, A)
263 self.assertNotIsInstance(b, (A,))
Dtest_hash.py147 self.assertNotIsInstance(obj, Hashable)
Dtest_io.py3904 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/
Dtest_collections.py297 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 …]
Dtest_abc.py92 self.assertNotIsInstance(b, A)
93 self.assertNotIsInstance(b, (A,))
Dtest_ftplib.py670 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)
Dtest_bool.py251 self.assertNotIsInstance(True & 1, bool)
255 self.assertNotIsInstance(True | 1, bool)
259 self.assertNotIsInstance(True ^ 1, bool)
Dtest_typechecks.py82 self.assertNotIsInstance(3, X)
Dtest_hash.py120 self.assertNotIsInstance(obj, Hashable)
Dtest_io.py3051 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/
Dserialization_test.py84 self.assertNotIsInstance(new_layer, rnn_v2.LSTM)
98 self.assertNotIsInstance(new_layer, rnn_v2.GRU)
/external/python/cpython3/Lib/test/test_email/
Dtest_parser.py85 self.assertNotIsInstance(msg, self.MyMessage)
Dtest_policy.py212 self.assertNotIsInstance(h, headerregistry.UnstructuredHeader)
214 self.assertNotIsInstance(h, self.Foo)
/external/python/mock/mock/tests/
Dtesthelpers.py838 self.assertNotIsInstance(none, type(None))
971 self.assertNotIsInstance(returned, PropertyMock)
Dtestmock.py966 self.assertNotIsInstance(mock.foo, Subclass)
967 self.assertNotIsInstance(mock(), Subclass)
1567 self.assertNotIsInstance(mock, int)
/external/python/cpython3/Lib/unittest/test/testmock/
Dtesthelpers.py810 self.assertNotIsInstance(none, type(None))
1002 self.assertNotIsInstance(returned, PropertyMock)
Dtestmock.py1105 self.assertNotIsInstance(mock.foo, Subclass)
1106 self.assertNotIsInstance(mock(), Subclass)
1781 self.assertNotIsInstance(mock, int)
/external/python/cpython2/Lib/unittest/test/
Dtest_case.py452 self.assertNotIsInstance(thing, dict)
453 self.assertRaises(self.failureException, self.assertNotIsInstance,

12