/external/libchrome/mojo/public/tools/bindings/pylib/mojom_tests/parse/ |
D | parser_unittest.py | 64 with self.assertRaisesRegexp( 79 with self.assertRaisesRegexp( 96 with self.assertRaisesRegexp( 108 with self.assertRaisesRegexp( 125 with self.assertRaisesRegexp( 209 with self.assertRaisesRegexp( 222 with self.assertRaisesRegexp( 235 with self.assertRaisesRegexp( 251 with self.assertRaisesRegexp( 266 with self.assertRaisesRegexp( [all …]
|
/external/tensorflow/tensorflow/python/debug/cli/ |
D | command_parser_test.py | 124 with self.assertRaisesRegexp(SyntaxError, "Redirect file path is empty"): 259 with self.assertRaisesRegexp( 263 with self.assertRaisesRegexp( 267 with self.assertRaisesRegexp( 299 with self.assertRaisesRegexp(ValueError, 303 with self.assertRaisesRegexp(ValueError, 307 with self.assertRaisesRegexp(ValueError, 311 with self.assertRaisesRegexp(ValueError, 353 with self.assertRaisesRegexp( 357 with self.assertRaisesRegexp( [all …]
|
/external/tensorflow/tensorflow/python/data/util/ |
D | nest_test.py | 60 with self.assertRaisesRegexp(ValueError, "Structure is a scalar"): 63 with self.assertRaisesRegexp(TypeError, "flat_sequence"): 180 with self.assertRaisesRegexp(ValueError, 184 with self.assertRaisesRegexp(ValueError, 188 with self.assertRaisesRegexp(ValueError, 192 with self.assertRaisesRegexp(ValueError, 206 with self.assertRaisesRegexp(ValueError, 210 with self.assertRaisesRegexp(ValueError, 216 with self.assertRaisesRegexp(TypeError, 221 with self.assertRaisesRegexp(ValueError, "don't have the same set of keys"): [all …]
|
D | structure_test.py | 188 with self.assertRaisesRegexp( 192 with self.assertRaisesRegexp( 197 with self.assertRaisesRegexp(TypeError, "Input must be a SparseTensor"): 200 with self.assertRaisesRegexp(TypeError, "Input must be a SparseTensor"): 203 with self.assertRaisesRegexp( 208 with self.assertRaisesRegexp( 213 with self.assertRaisesRegexp( 217 with self.assertRaisesRegexp( 221 with self.assertRaisesRegexp( 226 with self.assertRaisesRegexp( [all …]
|
/external/tensorflow/tensorflow/contrib/training/python/training/ |
D | hparam_test.py | 32 with self.assertRaisesRegexp(ValueError, 'Unknown hyperparameter'): 95 with self.assertRaisesRegexp(ValueError, 'Unknown hyperparameter'): 97 with self.assertRaisesRegexp(ValueError, 'Could not parse'): 99 with self.assertRaisesRegexp(ValueError, 'Could not parse'): 101 with self.assertRaisesRegexp(ValueError, 'Could not parse'): 103 with self.assertRaisesRegexp(ValueError, 'Could not parse'): 105 with self.assertRaisesRegexp(ValueError, 'Must not pass a list'): 127 with self.assertRaisesRegexp(ValueError, 'Could not parse'): 165 with self.assertRaisesRegexp(ValueError, r'Could not parse.*use_gpu'): 191 with self.assertRaisesRegexp(ValueError, 'Unknown hyperparameter'): [all …]
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/ |
D | learn_runner_test.py | 163 with self.assertRaisesRegexp( 171 with self.assertRaisesRegexp(ValueError, _MUST_SPECIFY_OUTPUT_DIR_MSG): 175 with self.assertRaisesRegexp( 181 with self.assertRaisesRegexp( 187 with self.assertRaisesRegexp(TypeError, _EXP_NOT_CALLABLE_MSG): 191 with self.assertRaisesRegexp(TypeError, _NOT_EXP_TYPE_MSG): 195 with self.assertRaisesRegexp(ValueError, _NON_EXIST_TASK_MSG): 199 with self.assertRaisesRegexp(TypeError, _NON_CALLABLE_MSG): 236 with self.assertRaisesRegexp(ValueError, _MISSING_MODEL_DIR_ERR_MSG): 243 with self.assertRaisesRegexp(ValueError, _MISSING_MODEL_DIR_ERR_MSG): [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/linalg/ |
D | linear_operator_algebra_test.py | 67 with self.assertRaisesRegexp(TypeError, "must be callable"): 74 with self.assertRaisesRegexp(ValueError, "has already been registered"): 102 with self.assertRaisesRegexp(ValueError, "positive definite"): 105 with self.assertRaisesRegexp(ValueError, "self adjoint"): 117 with self.assertRaisesRegexp(TypeError, "must be callable"): 124 with self.assertRaisesRegexp(ValueError, "has already been registered"): 161 with self.assertRaisesRegexp(TypeError, "must be callable"): 169 with self.assertRaisesRegexp(ValueError, "has already been registered"): 198 with self.assertRaisesRegexp(ValueError, "singular"): 209 with self.assertRaisesRegexp(TypeError, "must be callable"): [all …]
|
D | linear_operator_zeros_test.py | 85 with self.assertRaisesRegexp(ValueError, "must be a 0-D Tensor"): 87 with self.assertRaisesRegexp(ValueError, "must be a 0-D Tensor"): 91 with self.assertRaisesRegexp(TypeError, "must be integer"): 93 with self.assertRaisesRegexp(TypeError, "must be integer"): 97 with self.assertRaisesRegexp(ValueError, "must be non-negative"): 99 with self.assertRaisesRegexp(ValueError, "must be non-negative"): 103 with self.assertRaisesRegexp(ValueError, "must be a 1-D"): 107 with self.assertRaisesRegexp(TypeError, "must be integer"): 111 with self.assertRaisesRegexp(ValueError, "must be non-negative"): 158 with self.assertRaisesRegexp(ValueError, "Dimensions.*not compatible"):
|
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/ |
D | test_geometry_managers.py | 29 with self.assertRaisesRegexp(TclError, 'window "%s" isn\'t packed' % b): 31 with self.assertRaisesRegexp(TclError, 'bad window path name ".foo"'): 62 with self.assertRaisesRegexp(TclError, 'window "%s" isn\'t packed' % b): 64 with self.assertRaisesRegexp(TclError, 'bad window path name ".foo"'): 111 with self.assertRaisesRegexp(TclError, 114 with self.assertRaisesRegexp(TclError, 'bad window path name ".foo"'): 229 with self.assertRaisesRegexp(TclError, 'window "%s" isn\'t packed' % a): 295 with self.assertRaisesRegexp(TclError, "can't place %s relative to " 300 with self.assertRaisesRegexp(TclError, 'bad window path name'): 319 with self.assertRaisesRegexp(TclError, 'bad screen distance "spam"'): [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | manip_ops_test.py | 102 with self.assertRaisesRegexp(errors_impl.InvalidArgumentError, 110 with self.assertRaisesRegexp( 121 with self.assertRaisesRegexp(errors_impl.InvalidArgumentError, 128 with self.assertRaisesRegexp( 139 with self.assertRaisesRegexp(errors_impl.InvalidArgumentError, 146 with self.assertRaisesRegexp( 157 with self.assertRaisesRegexp(errors_impl.InvalidArgumentError, 164 with self.assertRaisesRegexp(ValueError, "both shapes must be equal"): 174 with self.assertRaisesRegexp(errors_impl.InvalidArgumentError, 183 with self.assertRaisesRegexp(errors_impl.InvalidArgumentError,
|
D | list_ops_test.py | 75 with self.assertRaisesRegexp(errors.InvalidArgumentError, 88 with self.assertRaisesRegexp(errors.InvalidArgumentError, 109 with self.assertRaisesRegexp( 118 with self.assertRaisesRegexp( 186 with self.assertRaisesRegexp(errors.InvalidArgumentError, 208 with self.assertRaisesRegexp( 229 with self.assertRaisesRegexp(errors.InvalidArgumentError, 239 with self.assertRaisesRegexp(errors.InvalidArgumentError, 282 with self.assertRaisesRegexp(errors.InvalidArgumentError, 334 with self.assertRaisesRegexp(errors.InvalidArgumentError, [all …]
|
/external/tensorflow/tensorflow/contrib/gan/python/features/python/ |
D | conditioning_utils_test.py | 38 with self.assertRaisesRegexp(ValueError, 'Cannot reshape'): 43 with self.assertRaisesRegexp(ValueError, 'Shape .* is not fully defined'): 48 with self.assertRaisesRegexp(ValueError, 'at least 2D'): 59 with self.assertRaisesRegexp(ValueError, 'Shape .* must have rank 2'): 64 with self.assertRaisesRegexp(ValueError, 'Shape .* is not fully defined'): 69 with self.assertRaisesRegexp(ValueError, 'Cannot reshape a tensor'):
|
/external/tensorflow/tensorflow/python/distribute/ |
D | multi_worker_util_test.py | 74 with self.assertRaisesRegexp( 97 with self.assertRaisesRegexp( 101 with self.assertRaisesRegexp( 130 with self.assertRaisesRegexp( 140 with self.assertRaisesRegexp(ValueError, "Unexpected `task_type` 'ps'"): 182 with self.assertRaisesRegexp(ValueError, 190 with self.assertRaisesRegexp(ValueError,
|
/external/tensorflow/tensorflow/python/eager/ |
D | tensor_test.py | 68 with self.assertRaisesRegexp( 72 with self.assertRaisesRegexp( 76 with self.assertRaisesRegexp(TypeError, 85 with self.assertRaisesRegexp( 89 with self.assertRaisesRegexp( 116 with self.assertRaisesRegexp(TypeError, "Invalid dtype argument value"): 148 with self.assertRaisesRegexp( 276 with self.assertRaisesRegexp( 361 with self.assertRaisesRegexp( 389 with self.assertRaisesRegexp( [all …]
|
/external/tensorflow/tensorflow/python/util/ |
D | nest_test.py | 87 with self.assertRaisesRegexp(TypeError, "object is not iterable"): 116 with self.assertRaisesRegexp(ValueError, "Structure is a scalar"): 119 with self.assertRaisesRegexp(TypeError, "flat_sequence"): 222 with self.assertRaisesRegexp(TypeError, 227 with self.assertRaisesRegexp( 257 with self.assertRaisesRegexp(ValueError, "not unique"): 263 with self.assertRaisesRegexp( 294 with self.assertRaisesRegexp( 308 with self.assertRaisesRegexp( 318 with self.assertRaisesRegexp( [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
D | bijector_test.py | 39 with self.assertRaisesRegexp(TypeError, 68 with self.assertRaisesRegexp( 72 with self.assertRaisesRegexp( 76 with self.assertRaisesRegexp( 80 with self.assertRaisesRegexp( 123 with self.assertRaisesRegexp(ValueError, "Expected integer"): 125 with self.assertRaisesRegexp(ValueError, "Expected integer"): 130 with self.assertRaisesRegexp(ValueError, "Expected scalar"): 132 with self.assertRaisesRegexp(ValueError, "Expected scalar"): 257 with self.assertRaisesRegexp(ValueError, "must be larger than"): [all …]
|
/external/tensorflow/tensorflow/contrib/framework/python/framework/ |
D | tensor_util_test.py | 71 with self.assertRaisesRegexp(ValueError, "Expected integer"): 75 with self.assertRaisesRegexp(ValueError, "Expected scalar"): 92 self.assertRaisesRegexp(errors_impl.OpError, 98 self.assertRaisesRegexp(errors_impl.OpError, 123 self.assertRaisesRegexp(ValueError, "Invalid rank", 129 self.assertRaisesRegexp(ValueError, "Invalid dtype", 132 self.assertRaisesRegexp(ValueError, "Invalid dtype", 135 self.assertRaisesRegexp(ValueError, "Invalid dtype", 215 self.assertRaisesRegexp(errors_impl.OpError, "Wrong shape", 218 self.assertRaisesRegexp(errors_impl.OpError, "Wrong shape", [all …]
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_from_sparse_op_test.py | 55 self.assertRaisesRegexp(ValueError, r'rank\(st_input\) must be 2', 60 self.assertRaisesRegexp(ValueError, r'rank\(st_input\) must be 2', 68 self.assertRaisesRegexp(ValueError, r'rank\(st_input\) must be 2', 95 with self.assertRaisesRegexp(errors.InvalidArgumentError, 101 with self.assertRaisesRegexp(errors.InvalidArgumentError, 107 with self.assertRaisesRegexp(errors.InvalidArgumentError,
|
D | ragged_row_splits_to_segment_ids_op_test.py | 43 self.assertRaisesRegexp(ValueError, r'Invalid row_splits: \[\]', 45 self.assertRaisesRegexp( 49 self.assertRaisesRegexp(ValueError, r'Shape \(\) must have rank 1', 51 self.assertRaisesRegexp(ValueError, r'Shape \(1, 1\) must have rank 1',
|
/external/protobuf/python/google/protobuf/internal/ |
D | json_format_test.py | 103 self.assertRaisesRegexp( 570 self.assertRaisesRegexp( 665 self.assertRaisesRegexp( 670 self.assertRaisesRegexp( 676 self.assertRaisesRegexp( 683 self.assertRaisesRegexp( 691 self.assertRaisesRegexp( 697 self.assertRaisesRegexp( 702 self.assertRaisesRegexp( 708 self.assertRaisesRegexp( [all …]
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | merge_test.py | 60 with self.assertRaisesRegexp(ValueError, "`mask` should be a list."): 62 with self.assertRaisesRegexp(ValueError, "`inputs` should be a list."): 64 with self.assertRaisesRegexp(ValueError, " should have the same length."): 91 with self.assertRaisesRegexp(ValueError, "`mask` should be a list."): 93 with self.assertRaisesRegexp(ValueError, "`inputs` should be a list."): 95 with self.assertRaisesRegexp(ValueError, 98 with self.assertRaisesRegexp(ValueError, 182 with self.assertRaisesRegexp(ValueError, "`mask` should be a list."): 184 with self.assertRaisesRegexp(ValueError, "`inputs` should be a list."): 186 with self.assertRaisesRegexp(ValueError, "should have the same length"): [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_source_encoding.py | 50 with self.assertRaisesRegexp(SyntaxError, 'fake'): 52 with self.assertRaisesRegexp(SyntaxError, 'iso-8859-15'): 55 with self.assertRaisesRegexp(SyntaxError, 'BOM'): 58 with self.assertRaisesRegexp(SyntaxError, 'fake'): 60 with self.assertRaisesRegexp(SyntaxError, 'BOM'): 64 with self.assertRaisesRegexp(SyntaxError,
|
/external/tensorflow/tensorflow/python/training/ |
D | training_util_test.py | 46 self.assertRaisesRegexp(TypeError, 'does not have integer type', 48 self.assertRaisesRegexp(TypeError, 'does not have integer type', 59 self.assertRaisesRegexp(TypeError, 'not scalar', 61 self.assertRaisesRegexp(TypeError, 'not scalar', 69 self.assertRaisesRegexp(ValueError, 'already exists', 71 self.assertRaisesRegexp(ValueError, 'already exists',
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_dataset_test.py | 77 with self.assertRaisesRegexp( 86 with self.assertRaisesRegexp( 97 with self.assertRaisesRegexp(ValueError, 102 with self.assertRaisesRegexp( 105 with self.assertRaisesRegexp(ValueError, 108 with self.assertRaisesRegexp(ValueError, 190 with self.assertRaisesRegexp( 199 with self.assertRaisesRegexp( 210 with self.assertRaisesRegexp(ValueError, 'The `batch_size` argument' 215 with self.assertRaisesRegexp(ValueError, 'The `batch_size` argument' [all …]
|
/external/yapf/yapftests/ |
D | style_test.py | 198 with self.assertRaisesRegexp(style.StyleConfigError, 208 with self.assertRaisesRegexp(style.StyleConfigError, 219 with self.assertRaisesRegexp(style.StyleConfigError, 241 self.assertRaisesRegexp(style.StyleConfigError, 'Unknown style option', 244 self.assertRaisesRegexp(style.StyleConfigError, 'not a valid', 280 self.assertRaisesRegexp(style.StyleConfigError, 'Unknown style option', 283 self.assertRaisesRegexp(style.StyleConfigError, 'not a valid', 285 self.assertRaisesRegexp(style.StyleConfigError, 'Invalid style dict',
|