/external/autotest/client/cros/cellular/mbim_compliance/ |
D | usb_descriptors_unittest.py | 133 self.assertIsInstance(descriptor, UnknownDescriptor) 149 self.assertIsInstance(descriptor, FunctionalDescriptor) 179 self.assertIsInstance(descriptor, ConfigurationDescriptor) 180 self.assertIsInstance(descriptor, Descriptor) 194 self.assertIsInstance(descriptor, InterfaceAssociationDescriptor) 195 self.assertIsInstance(descriptor, Descriptor) 209 self.assertIsInstance(descriptor, InterfaceDescriptor) 210 self.assertIsInstance(descriptor, Descriptor) 225 self.assertIsInstance(descriptor, HeaderFunctionalDescriptor) 226 self.assertIsInstance(descriptor, FunctionalDescriptor) [all …]
|
/external/python/apitools/apitools/base/py/ |
D | exceptions_test.py | 33 self.assertIsInstance(err, exceptions.HttpError) 34 self.assertIsInstance(err, exceptions.HttpBadRequestError) 39 self.assertIsInstance(err, exceptions.HttpError) 40 self.assertIsInstance(err, exceptions.HttpUnauthorizedError) 45 self.assertIsInstance(err, exceptions.HttpError) 46 self.assertIsInstance(err, exceptions.HttpForbiddenError) 57 self.assertIsInstance(err, exceptions.HttpError) 58 self.assertIsInstance(err, exceptions.HttpNotFoundError) 63 self.assertIsInstance(err, exceptions.HttpError) 64 self.assertIsInstance(err, exceptions.HttpConflictError) [all …]
|
/external/python/cpython3/Lib/tkinter/test/test_tkinter/ |
D | test_font.py | 29 self.assertIsInstance(options[key], str) 30 self.assertIsInstance(self.font.cget(key), str) 31 self.assertIsInstance(self.font[key], str) 34 self.assertIsInstance(options[key], sizetype) 35 self.assertIsInstance(self.font.cget(key), sizetype) 36 self.assertIsInstance(self.font[key], sizetype) 55 self.assertIsInstance(options[key], str) 56 self.assertIsInstance(self.font.actual(key), str) 59 self.assertIsInstance(options[key], sizetype) 60 self.assertIsInstance(self.font.actual(key), sizetype) [all …]
|
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/ |
D | test_font.py | 29 self.assertIsInstance(options[key], str) 30 self.assertIsInstance(self.font.cget(key), str) 31 self.assertIsInstance(self.font[key], str) 34 self.assertIsInstance(options[key], sizetype) 35 self.assertIsInstance(self.font.cget(key), sizetype) 36 self.assertIsInstance(self.font[key], sizetype) 55 self.assertIsInstance(options[key], str) 56 self.assertIsInstance(self.font.actual(key), str) 59 self.assertIsInstance(options[key], sizetype) 60 self.assertIsInstance(self.font.actual(key), sizetype) [all …]
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | templates_test.py | 57 self.test_instance.assertIsInstance(node.ctx, self.expected_ctx) 163 self.assertIsInstance(node.body[0].targets[0].ctx, gast.Store) 164 self.assertIsInstance(node.body[0].targets[0].value.ctx, gast.Load) 165 self.assertIsInstance(node.body[0].targets[0].value.value.ctx, gast.Load) 174 self.assertIsInstance(node.body[0].targets[0].ctx, gast.Store) 175 self.assertIsInstance(node.body[0].targets[0].elts[0].ctx, gast.Store) 176 self.assertIsInstance(node.body[0].targets[0].elts[1].ctx, gast.Store) 185 self.assertIsInstance(node.body[0].targets[0].ctx, gast.Store) 186 self.assertIsInstance(node.body[0].targets[0].elts[0].ctx, gast.Store) 187 self.assertIsInstance(node.body[0].targets[0].elts[1].ctx, gast.Store) [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_spwd.py | 14 self.assertIsInstance(entries, list) 16 self.assertIsInstance(entry, spwd.struct_spwd) 24 self.assertIsInstance(entry, spwd.struct_spwd) 27 self.assertIsInstance(entry.sp_pwd, str) 29 self.assertIsInstance(entry.sp_lstchg, int) 31 self.assertIsInstance(entry.sp_min, int) 33 self.assertIsInstance(entry.sp_max, int) 35 self.assertIsInstance(entry.sp_warn, int) 37 self.assertIsInstance(entry.sp_inact, int) 39 self.assertIsInstance(entry.sp_expire, int) [all …]
|
D | test_dictviews.py | 78 self.assertIsInstance(repr(d), str) 80 self.assertIsInstance(r, str) 84 self.assertIsInstance(r, str) 88 self.assertIsInstance(r, str) 177 self.assertIsInstance(r, str) 181 self.assertIsInstance(r, str) 192 self.assertIsInstance(d.viewkeys(), collections.KeysView) 193 self.assertIsInstance(d.viewkeys(), collections.MappingView) 194 self.assertIsInstance(d.viewkeys(), collections.Set) 195 self.assertIsInstance(d.viewkeys(), collections.Sized) [all …]
|
D | test_sys.py | 200 self.assertIsInstance(sys.getdefaultencoding(), str) 238 self.assertIsInstance(v[0], int) 239 self.assertIsInstance(v[1], int) 240 self.assertIsInstance(v[2], int) 241 self.assertIsInstance(v[3], int) 242 self.assertIsInstance(v[4], str) 244 self.assertIsInstance(v.major, int) 245 self.assertIsInstance(v.minor, int) 246 self.assertIsInstance(v.build, int) 247 self.assertIsInstance(v.platform, int) [all …]
|
D | test_pwd.py | 15 self.assertIsInstance(e.pw_name, basestring) 17 self.assertIsInstance(e.pw_passwd, basestring) 19 self.assertIsInstance(e.pw_uid, (int, long)) 21 self.assertIsInstance(e.pw_gid, (int, long)) 23 self.assertIsInstance(e.pw_gecos, basestring) 25 self.assertIsInstance(e.pw_dir, basestring) 27 self.assertIsInstance(e.pw_shell, basestring)
|
/external/python/cpython3/Lib/test/ |
D | test_spwd.py | 14 self.assertIsInstance(entries, list) 16 self.assertIsInstance(entry, spwd.struct_spwd) 24 self.assertIsInstance(entry, spwd.struct_spwd) 28 self.assertIsInstance(entry.sp_pwdp, str) 31 self.assertIsInstance(entry.sp_lstchg, int) 33 self.assertIsInstance(entry.sp_min, int) 35 self.assertIsInstance(entry.sp_max, int) 37 self.assertIsInstance(entry.sp_warn, int) 39 self.assertIsInstance(entry.sp_inact, int) 41 self.assertIsInstance(entry.sp_expire, int) [all …]
|
D | test_raise.py | 87 self.assertIsInstance(e.__context__, TypeError) 170 self.assertIsInstance(e.__context__, TypeError) 184 self.assertIsInstance(e.__cause__, KeyError) 216 self.assertIsInstance(e.__traceback__, types.TracebackType) 242 self.assertIsInstance(tb.tb_next, types.TracebackType) 244 self.assertIsInstance(tb.tb_lasti, int) 245 self.assertIsInstance(tb.tb_lineno, int) 319 self.assertIsInstance(e.__context__, context) 332 self.assertIsInstance(e.__context__, context) 343 self.assertIsInstance(e.__context__, ZeroDivisionError) [all …]
|
D | test_dictviews.py | 77 self.assertIsInstance(repr(d), str) 79 self.assertIsInstance(r, str) 83 self.assertIsInstance(r, str) 87 self.assertIsInstance(r, str) 111 self.assertIsInstance(d4.keys() & frozenset(d3.keys()), set) 112 self.assertIsInstance(frozenset(d3.keys()) & d4.keys(), set) 256 self.assertIsInstance(r, str) 260 self.assertIsInstance(r, str) 313 self.assertIsInstance(d.keys(), collections.abc.KeysView) 314 self.assertIsInstance(d.keys(), collections.abc.MappingView) [all …]
|
D | test_sys.py | 185 self.assertIsInstance(sys.getdefaultencoding(), str) 304 self.assertIsInstance(v[0], int) 305 self.assertIsInstance(v[1], int) 306 self.assertIsInstance(v[2], int) 307 self.assertIsInstance(v[3], int) 308 self.assertIsInstance(v[4], str) 310 self.assertIsInstance(v.major, int) 311 self.assertIsInstance(v.minor, int) 312 self.assertIsInstance(v.build, int) 313 self.assertIsInstance(v.platform, int) [all …]
|
/external/python/oauth2client/tests/ |
D | test__pure_python_crypt.py | 81 self.assertIsInstance(verifier, crypt.RsaVerifier) 82 self.assertIsInstance(verifier._pubkey, rsa.key.PublicKey) 88 self.assertIsInstance(verifier, crypt.RsaVerifier) 89 self.assertIsInstance(verifier._pubkey, rsa.key.PublicKey) 95 self.assertIsInstance(verifier, crypt.RsaVerifier) 96 self.assertIsInstance(verifier._pubkey, rsa.key.PublicKey) 102 self.assertIsInstance(verifier, crypt.RsaVerifier) 103 self.assertIsInstance(verifier._pubkey, rsa.key.PublicKey) 139 self.assertIsInstance(signer, crypt.RsaSigner) 140 self.assertIsInstance(signer._key, rsa.key.PrivateKey) [all …]
|
/external/tensorflow/tensorflow/python/ops/numpy_ops/ |
D | np_interop_test.py | 99 self.assertIsInstance(dx, np.ndarray) 100 self.assertIsInstance(dy, np.ndarray) 152 self.assertIsInstance(arr_plus_t, tf.Tensor) 153 self.assertIsInstance(t_plus_arr, tf.Tensor) 161 self.assertIsInstance(sq, np.ndarray) 169 self.assertIsInstance(sq, tf.Tensor) 177 self.assertIsInstance(sq, onp.ndarray) 222 self.assertIsInstance(values[0], np.ndarray) 223 self.assertIsInstance(values[1], np.ndarray) 224 self.assertIsInstance(values[2], np.ndarray) [all …]
|
/external/python/rsa/tests/ |
D | test_pem.py | 79 self.assertIsInstance(key.save_pkcs1(format='DER'), bytes) 80 self.assertIsInstance(key.save_pkcs1(format='PEM'), bytes) 84 self.assertIsInstance(key.save_pkcs1(format='DER'), bytes) 85 self.assertIsInstance(key.save_pkcs1(format='PEM'), bytes) 93 self.assertIsInstance(key.save_pkcs1(format='DER'), bytes) 94 self.assertIsInstance(key.save_pkcs1(format='PEM'), bytes) 98 self.assertIsInstance(key.save_pkcs1(format='DER'), bytes) 99 self.assertIsInstance(key.save_pkcs1(format='PEM'), bytes)
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testasync.py | 82 self.assertIsInstance(mock_method, AsyncMock) 89 self.assertIsInstance(mock_method, AsyncMock) 96 self.assertIsInstance(mock_method, AsyncMock) 107 self.assertIsInstance(async_func, AsyncMock) 108 self.assertIsInstance(async_func_args, AsyncMock) 137 self.assertIsInstance(mock_method, AsyncMock) 144 self.assertIsInstance(async_func, AsyncMock) 181 self.assertIsInstance(mock, asyncio.Future) 188 self.assertIsInstance(mock_method.async_method, AsyncMock) 189 self.assertIsInstance(mock_method, MagicMock) [all …]
|
/external/tensorflow/tensorflow/lite/micro/examples/magic_wand/train/ |
D | data_split_person_test.py | 45 self.assertIsInstance(train_data, list) 46 self.assertIsInstance(valid_data, list) 47 self.assertIsInstance(test_data, list) 48 self.assertIsInstance(train_data[0], dict) 49 self.assertIsInstance(valid_data[0], dict) 50 self.assertIsInstance(test_data[0], dict)
|
D | data_load_test.py | 37 self.assertIsInstance(self.loader.train_data, list) 38 self.assertIsInstance(self.loader.train_label, list) 39 self.assertIsInstance(self.loader.valid_data, list) 40 self.assertIsInstance(self.loader.valid_label, list) 41 self.assertIsInstance(self.loader.test_data, list) 42 self.assertIsInstance(self.loader.test_label, list) 89 self.assertIsInstance(self.loader.train_data, tf.data.Dataset) 90 self.assertIsInstance(self.loader.valid_data, tf.data.Dataset) 91 self.assertIsInstance(self.loader.test_data, tf.data.Dataset)
|
/external/python/pycparser/tests/ |
D | test_c_parser.py | 122 self.assertIsInstance(t, FileAST) 127 self.assertIsInstance(t2, FileAST) 133 self.assertIsInstance(t, FileAST) 496 self.assertIsInstance(pdecl, PtrDecl) 514 self.assertIsInstance(s1, UnaryOp) 516 self.assertIsInstance(s1.expr, ID) 554 self.assertIsInstance(s1, FuncCall) 555 self.assertIsInstance(s1.name, ID) 557 self.assertIsInstance(s1.args.exprs[0], Typename) 558 self.assertIsInstance(s1.args.exprs[1], ID) [all …]
|
/external/tensorflow/tensorflow/python/distribute/ |
D | distribute_utils_test.py | 46 self.assertIsInstance(result, klass) 52 self.assertIsInstance(result, tuple) 57 self.assertIsInstance(result[1], list) 62 self.assertIsInstance(result[1][1], dict) 84 self.assertIsInstance(result, DictBasedClass) 107 self.assertIsInstance(result, CollectionsMappingBasedClass) 116 self.assertIsInstance(result, tuple) 121 self.assertIsInstance(result[1], list) 126 self.assertIsInstance(result[1][1], dict) 144 self.assertIsInstance(result, tuple) [all …]
|
D | strategy_combinations_test.py | 101 self.assertIsInstance(strategy, one_device_strategy.OneDeviceStrategyV1) 112 self.assertIsInstance(strategy, mirrored_strategy.MirroredStrategyV1) 123 self.assertIsInstance( 132 self.assertIsInstance(strategy, 138 self.assertIsInstance(strategy, tpu_strategy.TPUStrategyV1) 155 self.assertIsInstance(strategy, one_device_strategy.OneDeviceStrategy) 166 self.assertIsInstance(strategy, mirrored_strategy.MirroredStrategy) 176 self.assertIsInstance( 185 self.assertIsInstance(strategy, 191 self.assertIsInstance(strategy, tpu_strategy.TPUStrategy)
|
/external/python/oauth2client/tests/contrib/django_util/ |
D | test_views.py | 53 self.assertIsInstance(response, http.HttpResponseRedirect) 60 self.assertIsInstance(response, http.HttpResponseRedirect) 68 self.assertIsInstance(response, http.HttpResponseRedirect) 99 self.assertIsInstance(response, http.HttpResponseRedirect) 108 self.assertIsInstance(response, http.HttpResponseRedirect) 118 self.assertIsInstance(response, http.HttpResponseRedirect) 135 self.assertIsInstance(response, http.HttpResponseRedirect) 179 self.assertIsInstance(response, http.HttpResponseRedirect) 211 self.assertIsInstance(response, http.HttpResponseBadRequest) 218 self.assertIsInstance(response, http.HttpResponseBadRequest) [all …]
|
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/ |
D | _credentials_test.py | 32 self.assertIsInstance(first_and_second, grpc.CallCredentials) 33 self.assertIsInstance(first_second_and_third, grpc.CallCredentials) 50 self.assertIsInstance(channel_and_first, grpc.ChannelCredentials) 51 self.assertIsInstance(channel_first_and_second, grpc.ChannelCredentials) 52 self.assertIsInstance(channel_first_second_and_third,
|
/external/fonttools/Tests/feaLib/ |
D | parser_test.py | 193 self.assertIsInstance(anon, ast.AnonymousBlock) 199 self.assertIsInstance(anon, ast.AnonymousBlock) 212 self.assertIsInstance(s, ast.AttachStatement) 231 self.assertIsInstance(comment, ast.Comment) 237 self.assertIsInstance(ref, ast.FeatureReferenceStatement) 249 self.assertIsInstance(featureNames, ast.NestedBlock) 251 self.assertIsInstance(comment, ast.Comment) 258 self.assertIsInstance(featureNames, ast.NestedBlock) 264 self.assertIsInstance(s, ast.FontRevisionStatement) 448 self.assertIsInstance(s, ast.GlyphClassDefStatement) [all …]
|