/external/tensorflow/tensorflow/python/compiler/mlir/ |
D | mlir_test.py | 57 self.assertRegex(mlir_module, r'func @.*sqr.*\(') 58 self.assertRegex(mlir_module, r'callsite\(".*mlir_test.py":') 74 self.assertRegex(mlir_module, r'func @.*caller.*\(') 75 self.assertRegex(mlir_module, r'func private @.*callee.*\(') 86 self.assertRegex(mlir_module, r'tf\.PrintV2') 87 self.assertRegex(mlir_module, r'tf_executor.fetch.*: !tf_executor.control')
|
/external/tensorflow/tensorflow/python/distribute/ |
D | parameter_server_strategy_v2_test.py | 184 self.assertRegex(v1.variables[0].device, "/job:ps/replica:0/task:0") 185 self.assertRegex(v1.variables[1].device, "/job:ps/replica:0/task:1") 191 self.assertRegex(v2.variables[0].device, "/job:ps/replica:0/task:0") 192 self.assertRegex(v2.variables[1].device, "/job:ps/replica:0/task:1") 204 self.assertRegex(v.variables[0].device, "/job:ps/replica:0/task:0") 205 self.assertRegex(v.variables[1].device, "/job:ps/replica:0/task:1") 206 self.assertRegex(v.variables[2].device, "/job:ps/replica:0/task:0") 207 self.assertRegex(v.variables[3].device, "/job:ps/replica:0/task:1") 221 self.assertRegex(v.variables[0].device, "/job:ps/replica:0/task:0") 222 self.assertRegex(v.variables[1].device, "/job:ps/replica:0/task:1") [all …]
|
/external/tensorflow/tensorflow/lite/tools/ |
D | visualize_test.py | 62 self.assertRegex( 64 self.assertRegex(html_text, 66 self.assertRegex(html_text, 68 self.assertRegex(html_text, re.compile(r'ADD', re.MULTILINE | re.DOTALL))
|
/external/tensorflow/tensorflow/python/util/ |
D | deprecation_test.py | 45 self.assertRegex(mock_warning.call_args[0][1], r"deprecation_test\.py:") 72 self.assertRegex(mock_warning.call_args[0][1], r"deprecation_test\.py:") 239 self.assertRegex(args[0], r"deprecated and will be removed") 281 self.assertRegex(args[0], r"deprecated and will be removed") 307 self.assertRegex(args[0], r"deprecated and will be removed") 333 self.assertRegex(args[0], r"deprecated and will be removed") 378 self.assertRegex(args[0], r"deprecated and will be removed") 408 self.assertRegex(args[0], r"deprecated and will be removed") 438 self.assertRegex(args[0], r"deprecated and will be removed") 493 self.assertRegex(args[0], r"deprecated and will be removed") [all …]
|
D | function_utils_test.py | 256 self.assertRegex( 262 self.assertRegex( 279 self.assertRegex(code.co_filename, 'function_utils_test.py') 284 self.assertRegex(code.co_filename, 'function_utils_test.py') 290 self.assertRegex(code.co_filename, 'function_utils_test.py') 296 self.assertRegex(code.co_filename, 'function_utils_test.py')
|
/external/toolchain-utils/crosperf/ |
D | experiment_file_unittest.py | 234 self.assertRegex(str(msg.exception), 'governor: misspelled_governor') 235 self.assertRegex( 244 self.assertRegex(str(msg.exception), 'cpu_usage: unknown') 245 self.assertRegex(
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | error_utils_test.py | 73 self.assertRegex( 99 self.assertRegex( 118 self.assertRegex(
|
/external/python/cpython3/Lib/test/ |
D | test_subclassinit.py | 142 self.assertRegex(str(exc), r'\bNotGoingToWork\b') 143 self.assertRegex(str(exc), r'\battr\b') 144 self.assertRegex(str(exc), r'\bDescriptor\b') 157 self.assertRegex(str(exc), r'\bNotGoingToWork\b') 158 self.assertRegex(str(exc), r'\battr\b') 159 self.assertRegex(str(exc), r'\bDescriptor\b')
|
D | test_flufl.py | 15 self.assertRegex(str(cm.exception), 30 self.assertRegex(str(cm.exception), "invalid syntax")
|
D | test_site.py | 140 self.assertRegex(err_out.getvalue(), "line 1") 141 self.assertRegex(err_out.getvalue(), 146 self.assertRegex(err_out.getvalue(), 'Traceback') 147 self.assertRegex(err_out.getvalue(), r'import bad-syntax') 148 self.assertRegex(err_out.getvalue(), 'SyntaxError') 155 self.assertRegex(err_out.getvalue(), "line 2") 156 self.assertRegex(err_out.getvalue(), 159 self.assertRegex(err_out.getvalue(), 'Traceback') 160 self.assertRegex(err_out.getvalue(), 'ModuleNotFoundError')
|
D | test_frame.py | 194 self.assertRegex(repr(f_this), 197 self.assertRegex(repr(f_outer), 200 self.assertRegex(repr(f_inner),
|
D | test_capi.py | 207 self.assertRegex(err.replace(b'\r', b''), 221 self.assertRegex(str(cm.exception), 236 self.assertRegex(err.replace(b'\r', b''), 255 self.assertRegex(str(cm.exception), 351 self.assertRegex(err, 738 self.assertRegex(out, regex) 753 self.assertRegex(out, regex)
|
D | test_smtplib.py | 145 self.assertRegex(stderr.getvalue(), expected) 156 self.assertRegex(stderr.getvalue(), expected) 422 self.assertRegex(debugout, sender) 475 self.assertRegex(debugout, sender) 480 self.assertRegex(debugout, to_addr) 505 self.assertRegex(debugout, sender) 509 self.assertRegex(debugout, to_addr) 534 self.assertRegex(debugout, sender) 540 self.assertRegex(debugout, recip) 566 self.assertRegex(debugout, sender) [all …]
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_metadata_api.py | 76 assertRegex = self.assertRegex 82 assertRegex(
|
/external/tensorflow/tensorflow/python/framework/ |
D | versions_test.py | 31 self.assertRegex(versions.__version__, r'^\d+\.\d+\.(\d+(\-\w+)?|head)$') 32 self.assertRegex(versions.VERSION, r'^\d+\.\d+\.(\d+(\-\w+)?|head)$')
|
D | error_interpolation_test.py | 241 self.assertRegex( 255 self.assertRegex(interpolated_string, expected_regex) 264 self.assertRegex(interpolated_string, 280 self.assertRegex(interpolated_string, expected_regex) 293 self.assertRegex(interpolated_string, expected_regex) 336 self.assertRegex(result, expected_re)
|
D | py_context_manager_test.py | 79 self.assertRegex("\n".join(cm.log), EXCEPTION_LOG) 114 self.assertRegex("\n".join(cm.log), EXCEPTION_LOG)
|
/external/llvm-project/clang/bindings/python/tests/cindex/ |
D | test_diagnostics.py | 44 self.assertRegex(tu.diagnostics[0].spelling, 59 self.assertRegex(tu.diagnostics[0].spelling, 100 self.assertRegex(children[0].spelling,
|
/external/tensorflow/tensorflow/python/debug/cli/ |
D | profile_analyzer_cli_test.py | 214 self.assertRegex("".join(prof_output), r"Mul/456.*Add/123") 217 self.assertRegex("".join(prof_output), r"Add/123.*Mul/456") 220 self.assertRegex("".join(prof_output), r"Add/123.*Mul/456") 223 self.assertRegex("".join(prof_output), r"Mul/456.*Add/123") 226 self.assertRegex("".join(prof_output), r"Add/123.*Mul/456") 229 self.assertRegex("".join(prof_output), r"Mul/456.*Add/123")
|
/external/tensorflow/tensorflow/python/keras/mixed_precision/ |
D | device_compatibility_check_test.py | 48 self.assertRegex(mock_warn.call_args[0][0], expected_regex) 51 self.assertRegex(mock_info.call_args[0][0], expected_regex)
|
/external/fonttools/Tests/ttLib/tables/ |
D | _n_a_m_e_test.py | 227 captor.assertRegex("cannot add Windows name in language gsw-LI") 249 captor.assertRegex("cannot add Windows name in language la") 265 captor.assertRegex("cannot add Windows name in language la") 283 captor.assertRegex("cannot add Windows name in language az-Arab") 295 captor.assertRegex("cannot store language la into 'ltag' table")
|
/external/lz4/tests/ |
D | test-lz4-list.py | 72 self.assertRegex(nvinfo.block, "^B[0-9]+D$", nvinfo.line) 74 self.assertRegex(nvinfo.block, "^B[0-9]+I$", nvinfo.line) 137 … self.assertRegex(vinfo.filename, "^test_list_.*({}/{})".format(i + 1, len(self.vinfo_list))) 156 …self.assertRegex(self.cvinfo.frame_list[i]["block"], "^B[0-9]+D$", self.cvinfo.frame_list[i]["line…
|
/external/fonttools/Tests/feaLib/ |
D | builder_test.py | 218 captor.assertRegex('Removing duplicate single substitution from glyph "A" to "A.sc"') 240 …captor.assertRegex(r"Removing duplicate multiple substitution from glyph \"f_f_i\" to \('f', 'f', … 256 captor.assertRegex("Already defined position for pair yacute semicolon") 795 captor.assertRegex( 830 captor.assertRegex('Already defined position for pair A V at')
|
/external/python/asn1crypto/tests/ |
D | _unittest_compat.py | 27 unittest.TestCase.assertRegex = _assert_regex 36 unittest.TestCase.assertRegex = unittest.TestCase.assertRegexpMatches
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_macholib.py | 59 self.assertRegex(result, r".*/lib/libz.*\.dylib")
|