Home
last modified time | relevance | path

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

123

/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)
Dcombinations_test.py124 self.assertNotIsInstance(models[0], keras_models.Sequential)
125 self.assertNotIsInstance(models[1], keras_models.Sequential)
/external/python/cpython3/Lib/test/
Dtest_typing.py468 self.assertNotIsInstance(None, Callable)
478 self.assertNotIsInstance(None, Callable[[], None])
480 self.assertNotIsInstance(None, Callable[[], Any])
698 self.assertNotIsInstance(C(), P)
700 self.assertNotIsInstance(f, P)
743 self.assertNotIsInstance(D(), E)
744 self.assertNotIsInstance(E(), D)
813 self.assertNotIsInstance(C1(), P2)
814 self.assertNotIsInstance(C2(), P2)
848 self.assertNotIsInstance(C1(), P)
[all …]
Dtest_collections.py713 self.assertNotIsInstance(C(), abc)
777 self.assertNotIsInstance(x, Awaitable)
789 self.assertNotIsInstance(c, Awaitable)
827 self.assertNotIsInstance(x, Coroutine)
839 self.assertNotIsInstance(c, Coroutine)
871 self.assertNotIsInstance(x, Hashable)
902 self.assertNotIsInstance(x, AsyncIterable)
918 self.assertNotIsInstance(x, AsyncIterator)
924 self.assertNotIsInstance(AnextOnly(), AsyncIterator)
931 self.assertNotIsInstance(x, Iterable)
[all …]
Dtest_bool.py233 self.assertNotIsInstance(True & 1, bool)
237 self.assertNotIsInstance(True | 1, bool)
241 self.assertNotIsInstance(True ^ 1, bool)
Dtest_ftplib.py900 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket)
907 self.assertNotIsInstance(sock, ssl.SSLSocket)
925 self.assertNotIsInstance(sock, ssl.SSLSocket)
932 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket)
956 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket)
Dtest_winconsoleio.py120 self.assertNotIsInstance(f, ConIO)
Dtest_xml_etree_c.py196 self.assertNotIsInstance(cET.Element.__init__, types.FunctionType)
Dtest_abc.py281 self.assertNotIsInstance(b, A)
282 self.assertNotIsInstance(b, (A,))
Dtest_hash.py147 self.assertNotIsInstance(obj, Hashable)
/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)
/external/tensorflow/tensorflow/python/autograph/operators/
Dvariables_test.py40 self.assertNotIsInstance(undefined_symbol.__class__, variables.Undefined)
/external/tensorflow/tensorflow/python/keras/layers/
Dserialization_test.py152 self.assertNotIsInstance(new_layer, rnn_v2.LSTM)
166 self.assertNotIsInstance(new_layer, rnn_v2.GRU)
/external/python/cpython3/Lib/test/test_email/
Dtest_parser.py85 self.assertNotIsInstance(msg, self.MyMessage)
Dtest_policy.py225 self.assertNotIsInstance(h, headerregistry.UnstructuredHeader)
227 self.assertNotIsInstance(h, self.Foo)
/external/fonttools/Tests/misc/
DpsCharStrings_test.py158 self.assertNotIsInstance(expected_arg, str)
/external/tensorflow/tensorflow/python/distribute/
Dparameter_server_strategy_v2_test.py244 self.assertNotIsInstance(v1, sharded_variable.ShardedVariable)
249 self.assertNotIsInstance(v2, sharded_variable.ShardedVariable)
265 self.assertNotIsInstance(v2, sharded_variable.ShardedVariable)
/external/tensorflow/tensorflow/python/keras/utils/
Dversion_utils_test.py48 self.assertNotIsInstance(layer, base_layer_v1.Layer)
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/
Dtest_case.py631 self.assertNotIsInstance(thing, dict)
632 self.assertRaises(self.failureException, self.assertNotIsInstance,
/external/python/cpython2/Lib/unittest/test/
Dtest_case.py452 self.assertNotIsInstance(thing, dict)
453 self.assertRaises(self.failureException, self.assertNotIsInstance,

123