/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 …]
|
D | lexer_unittest.py | 101 with self.assertRaisesRegexp( 105 with self.assertRaisesRegexp(
|
/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/autotest/utils/side_effects/ |
D | config_loader_unittest.py | 65 with self.assertRaisesRegexp(Exception, 'JSON'): 89 with self.assertRaisesRegexp(ValueError, 'proxy socket'): 94 with self.assertRaisesRegexp(ValueError, 'MySQL user'): 99 with self.assertRaisesRegexp(ValueError, 'MySQL password'): 104 with self.assertRaisesRegexp(OSError, 'proxy socket'): 109 with self.assertRaisesRegexp(OSError, 'MySQL password'): 132 with self.assertRaisesRegexp(ValueError, 'bucket'): 137 with self.assertRaisesRegexp(ValueError, 'credentials'): 142 with self.assertRaisesRegexp(OSError, 'credentials'):
|
/external/autotest/client/cros/power/ |
D | power_telemetry_utils_unittest.py | 28 with self.assertRaisesRegexp(power_telemetry_utils.TelemetryUtilsError, 75 with self.assertRaisesRegexp(power_telemetry_utils.TelemetryUtilsError, 86 with self.assertRaisesRegexp(power_telemetry_utils.TelemetryUtilsError, 97 with self.assertRaisesRegexp(power_telemetry_utils.TelemetryUtilsError, 108 with self.assertRaisesRegexp(power_telemetry_utils.TelemetryUtilsError, 138 with self.assertRaisesRegexp(power_telemetry_utils.TelemetryUtilsError, 152 with self.assertRaisesRegexp(power_telemetry_utils.TelemetryUtilsError,
|
/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,
|
D | test_dictcomps.py | 78 with self.assertRaisesRegexp(SyntaxError, "can't assign"): 82 with self.assertRaisesRegexp(SyntaxError, "can't assign"):
|
D | test_test_support.py | 37 with self.assertRaisesRegexp(unittest.SkipTest, 'unittest'): 39 with self.assertRaisesRegexp(unittest.SkipTest, 'ClassicClass'): 41 with self.assertRaisesRegexp(unittest.SkipTest, 'ClassicClass'): 43 with self.assertRaisesRegexp(unittest.SkipTest, 'NewStyleClass'): 45 with self.assertRaisesRegexp(unittest.SkipTest, 'NewStyleClass'):
|
D | test_ssl.py | 356 self.assertRaisesRegexp(ValueError, 359 self.assertRaisesRegexp(ValueError, 362 self.assertRaisesRegexp(ValueError, 366 self.assertRaisesRegexp(ValueError, "can't connect in server-side mode", 634 with self.assertRaisesRegexp(ValueError, "unknown NID 100000"): 653 with self.assertRaisesRegexp(ValueError, "unknown object 'serverauth'"): 770 with self.assertRaisesRegexp(ssl.SSLError, "No cipher can be selected"): 837 with self.assertRaisesRegexp(ssl.SSLError, "PEM lib"): 839 with self.assertRaisesRegexp(ssl.SSLError, "PEM lib"): 846 with self.assertRaisesRegexp(ssl.SSLError, "PEM lib"): [all …]
|
D | test_zlib.py | 120 with self.assertRaisesRegexp(OverflowError, 'int too large'): 122 with self.assertRaisesRegexp(OverflowError, 'int too large'): 124 with self.assertRaisesRegexp(OverflowError, 'int too large'): 175 self.assertRaisesRegexp(zlib.error, 649 with self.assertRaisesRegexp(zlib.error, 'invalid window size'): 654 with self.assertRaisesRegexp(zlib.error, 'invalid window size'):
|
D | string_tests.py | 1300 self.assertRaisesRegexp(TypeError, r'\bfind\b', s.find, 1302 self.assertRaisesRegexp(TypeError, r'\brfind\b', s.rfind, 1304 self.assertRaisesRegexp(TypeError, r'\bindex\b', s.index, 1306 self.assertRaisesRegexp(TypeError, r'\brindex\b', s.rindex, 1308 self.assertRaisesRegexp(TypeError, r'^count\(', s.count, 1310 self.assertRaisesRegexp(TypeError, r'^startswith\(', s.startswith, 1312 self.assertRaisesRegexp(TypeError, r'^endswith\(', s.endswith,
|
/external/tensorflow/tensorflow/python/framework/ |
D | py_context_manager_test.py | 73 with self.assertRaisesRegexp(ValueError, "Foo"): 83 with self.assertRaisesRegexp(ValueError, "exception in __enter__"): 106 with self.assertRaisesRegexp(
|
/external/python/cpython2/Lib/unittest/test/ |
D | test_case.py | 1005 self.assertRaisesRegexp(ExceptionMock, re.compile('expect$'), Stub) 1006 self.assertRaisesRegexp(ExceptionMock, 'expect$', Stub) 1007 self.assertRaisesRegexp(ExceptionMock, u'expect$', Stub) 1010 self.assertRaisesRegexp( 1012 self.assertRaisesRegexp, Exception, re.compile('x'), 1014 self.assertRaisesRegexp( 1016 self.assertRaisesRegexp, Exception, 'x', 1018 self.assertRaisesRegexp( 1020 self.assertRaisesRegexp, Exception, u'x', 1027 self.assertRaises(TypeError, self.assertRaisesRegexp, MyExc, lambda: True) [all …]
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
D | usb_descriptors_unittest.py | 33 with self.assertRaisesRegexp( 64 with self.assertRaisesRegexp( 77 with self.assertRaisesRegexp( 89 with self.assertRaisesRegexp( 94 with self.assertRaisesRegexp( 106 with self.assertRaisesRegexp(
|
D | mbim_message_unittest.py | 39 with self.assertRaisesRegexp( 53 with self.assertRaisesRegexp( 64 with self.assertRaisesRegexp( 99 with self.assertRaisesRegexp(
|
/external/autotest/client/cros/video/ |
D | histogram_verifier_unittest.py | 124 with self.assertRaisesRegexp( 136 with self.assertRaisesRegexp( 149 with self.assertRaisesRegexp(
|
/external/python/cpython2/Lib/json/tests/ |
D | test_decode.py | 56 self.assertRaisesRegexp(ValueError, msg, self.loads, s) 61 self.assertRaisesRegexp(ValueError, msg, self.loads, s)
|
/external/tensorflow/tensorflow/python/kernel_tests/array_ops/ |
D | unique_op_test.py | 125 with self.assertRaisesRegexp(ValueError, "axis expects a 1D vector"): 128 with self.assertRaisesRegexp(ValueError, "x expects a 1D vector"): 131 with self.assertRaisesRegexp( 135 with self.assertRaisesRegexp(ValueError, 139 with self.assertRaisesRegexp(ValueError,
|
/external/fonttools/Tests/pens/ |
D | __init__.py | 13 unittest.TestCase.assertRaisesRegex = unittest.TestCase.assertRaisesRegexp
|
/external/python/cpython3/Lib/lib2to3/fixes/ |
D | fix_asserts.py | 15 assertRaisesRegexp="assertRaisesRegex",
|
/external/python/cpython2/Lib/lib2to3/fixes/ |
D | fix_asserts.py | 15 assertRaisesRegexp="assertRaisesRegex",
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | session_debug_testlib.py | 309 with self.assertRaisesRegexp( 743 with self.assertRaisesRegexp(ValueError, 772 with self.assertRaisesRegexp( 826 with self.assertRaisesRegexp( 829 with self.assertRaisesRegexp( 841 with self.assertRaisesRegexp( 946 with self.assertRaisesRegexp(ValueError, "Causality violated"): 1326 with self.assertRaisesRegexp( 1338 with self.assertRaisesRegexp( 1350 with self.assertRaisesRegexp( [all …]
|
/external/llvm/bindings/python/llvm/tests/ |
D | test_disassembler.py | 20 with self.assertRaisesRegexp(Exception, "Could not obtain disassembler for triple"):
|
/external/autotest/client/common_lib/ |
D | utils_unittest.py | 1333 with self.assertRaisesRegexp(Exception, 'from args'): 1345 with self.assertRaisesRegexp(Exception, 'always raise'): 1364 with self.assertRaisesRegexp( 1396 with self.assertRaisesRegexp( 1409 with self.assertRaisesRegexp( 1416 with self.assertRaisesRegexp( 1428 with self.assertRaisesRegexp( 1442 with self.assertRaisesRegexp( 1460 with self.assertRaisesRegexp(
|
/external/tensorflow/tensorflow/python/distribute/ |
D | parameter_server_strategy_v2_test.py | 661 with self.assertRaisesRegexp(ValueError, "Disallowed task type found in"): 669 with self.assertRaisesRegexp(ValueError, "Unrecognized task_type: foobar"): 682 with self.assertRaisesRegexp(ValueError, 691 with self.assertRaisesRegexp(ValueError, 703 with self.assertRaisesRegexp(ValueError, "There must be at least one ps."):
|