Home
last modified time | relevance | path

Searched refs:assertRegexpMatches (Results 1 – 25 of 60) sorted by relevance

123

/external/tensorflow/tensorflow/contrib/stat_summarizer/python/
Dstat_summarizer_test.py57 self.assertRegexpMatches(output_string, r"count=20")
60 self.assertRegexpMatches(output_string, r"====== .* ======")
65 self.assertRegexpMatches(output_string, r"MatMul.*product")
66 self.assertRegexpMatches(output_string, r"Const.*m1")
67 self.assertRegexpMatches(output_string, r"Const.*m2")
70 self.assertRegexpMatches(output_string, r"100\.")
/external/python/cpython2/Lib/test/
Dtest_site.py137 self.assertRegexpMatches(err_out.getvalue(), "line 1")
138 self.assertRegexpMatches(err_out.getvalue(),
143 self.assertRegexpMatches(err_out.getvalue(), 'Traceback')
144 self.assertRegexpMatches(err_out.getvalue(), r'import bad\)syntax')
145 self.assertRegexpMatches(err_out.getvalue(), 'SyntaxError')
152 self.assertRegexpMatches(err_out.getvalue(), "line 2")
153 self.assertRegexpMatches(err_out.getvalue(),
156 self.assertRegexpMatches(err_out.getvalue(), 'Traceback')
157 self.assertRegexpMatches(err_out.getvalue(), 'ImportError')
166 self.assertRegexpMatches(err_out.getvalue(), "line 1")
[all …]
Dtest_cookielib.py28 self.assertRegexpMatches(text,
49 self.assertRegexpMatches(
1042 self.assertRegexpMatches(h, "\$Port([^=]|$)",
1318 self.assertRegexpMatches(req.get_header("Cookie"),
1376 self.assertRegexpMatches(cookie,
1400 self.assertRegexpMatches(cookie, r'^\$Version="?1"?;')
1401 self.assertRegexpMatches(cookie,
1403 self.assertRegexpMatches(cookie,
1425 self.assertRegexpMatches(cookie,
1476 self.assertRegexpMatches(cookie,
[all …]
Dtest_repr.py188 self.assertRegexpMatches(repr(x), r'<cell at 0x[0-9A-Fa-f]+: '
190 self.assertRegexpMatches(r(x), r'<cell at.*\.\.\..*>')
/external/tensorflow/tensorflow/python/util/
Ddeprecation_test.py42 self.assertRegexpMatches(mock_warning.call_args[0][1],
70 self.assertRegexpMatches(mock_warning.call_args[0][1],
172 self.assertRegexpMatches(
215 self.assertRegexpMatches(args[0], r"deprecated and will be removed")
241 self.assertRegexpMatches(args[0], r"deprecated and will be removed")
267 self.assertRegexpMatches(args[0], r"deprecated and will be removed")
312 self.assertRegexpMatches(args[0], r"deprecated and will be removed")
342 self.assertRegexpMatches(args[0], r"deprecated and will be removed")
372 self.assertRegexpMatches(args[0], r"deprecated and will be removed")
427 self.assertRegexpMatches(args[0], r"deprecated and will be removed")
[all …]
Dfunction_utils_test.py247 self.assertRegexpMatches(
253 self.assertRegexpMatches(
271 self.assertRegexpMatches(code.co_filename, 'function_utils_test.py')
276 self.assertRegexpMatches(code.co_filename, 'function_utils_test.py')
282 self.assertRegexpMatches(code.co_filename, 'function_utils_test.py')
288 self.assertRegexpMatches(code.co_filename, 'function_utils_test.py')
/external/tensorflow/tensorflow/python/framework/
Derror_interpolation_test.py183 self.assertRegexpMatches(interpolated_string,
192 self.assertRegexpMatches(interpolated_string, expected_regex)
197 self.assertRegexpMatches(interpolated_string, "constant_op.py:[0-9]+.*")
227 self.assertRegexpMatches(interpolated_string, expected_regex)
235 self.assertRegexpMatches(interpolated_string, expected_regex)
279 self.assertRegexpMatches(result, expected_re)
Dversions_test.py31 self.assertRegexpMatches(versions.__version__,
33 self.assertRegexpMatches(versions.VERSION,
/external/tensorflow/tensorflow/contrib/predictor/
Dsaved_model_predictor_test.py71 self.assertRegexpMatches(
114 self.assertRegexpMatches(
141 self.assertRegexpMatches(
Dcontrib_estimator_predictor_test.py58 self.assertRegexpMatches(
Dcore_estimator_predictor_test.py69 self.assertRegexpMatches(
/external/tensorflow/tensorflow/python/debug/cli/
Dprofile_analyzer_cli_test.py214 self.assertRegexpMatches("".join(prof_output), r"Mul/456.*Add/123")
217 self.assertRegexpMatches("".join(prof_output), r"Add/123.*Mul/456")
220 self.assertRegexpMatches("".join(prof_output), r"Add/123.*Mul/456")
223 self.assertRegexpMatches("".join(prof_output), r"Mul/456.*Add/123")
226 self.assertRegexpMatches("".join(prof_output), r"Add/123.*Mul/456")
229 self.assertRegexpMatches("".join(prof_output), r"Mul/456.*Add/123")
/external/tensorflow/tensorflow/python/eager/
Dfunction_test.py1902 self.assertRegexpMatches(
1909 self.assertRegexpMatches(
1962 self.assertRegexpMatches(captured_function_names[i],
2040 self.assertRegexpMatches(found, expected)
2522 self.assertRegexpMatches(x.device, 'GPU')
2578 self.assertRegexpMatches(m1.backing_device, 'CPU')
2580 self.assertRegexpMatches(m2.backing_device, 'GPU')
2597 self.assertRegexpMatches(m1.backing_device, 'GPU')
2599 self.assertRegexpMatches(m2.backing_device, 'CPU')
2635 self.assertRegexpMatches(m1.backing_device, 'CPU')
[all …]
/external/python/futures/
Dtest_futures.py242 self.assertRegexpMatches(t.name, r'^SpecialPool_[0-4]$')
255 self.assertRegexpMatches(t.name, r'ThreadPoolExecutor-\d+_[0-4]$')
630 self.assertRegexpMatches(repr(PENDING_FUTURE),
632 self.assertRegexpMatches(repr(RUNNING_FUTURE),
634 self.assertRegexpMatches(repr(CANCELLED_FUTURE),
636 self.assertRegexpMatches(repr(CANCELLED_AND_NOTIFIED_FUTURE),
638 self.assertRegexpMatches(
641 self.assertRegexpMatches(
/external/tensorflow/tensorflow/python/kernel_tests/
Dwhile_v2_test.py386 self.assertRegexpMatches(
388 self.assertRegexpMatches(
395 self.assertRegexpMatches(
397 self.assertRegexpMatches(
402 self.assertRegexpMatches(
404 self.assertRegexpMatches(
Dsummary_ops_test.py999 self.assertRegexpMatches(
1011 self.assertRegexpMatches(
1045 self.assertRegexpMatches(
1053 self.assertRegexpMatches(
1075 self.assertRegexpMatches(
1084 self.assertRegexpMatches(
Dcond_v2_test.py185 self.assertRegexpMatches(
187 self.assertRegexpMatches(
194 self.assertRegexpMatches(
196 self.assertRegexpMatches(
201 self.assertRegexpMatches(
203 self.assertRegexpMatches(
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_asserts.py14 assertRegexpMatches="assertRegex",
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_asserts.py14 assertRegexpMatches="assertRegex",
/external/python/cpython2/Lib/ctypes/test/
Dtest_macholib.py59 self.assertRegexpMatches(result, r".*/lib/libz\..*.*\.dylib")
/external/tensorflow/tensorflow/contrib/framework/python/framework/
Dexperimental_test.py64 self.assertRegexpMatches(args[0], r"is experimental and may change")
/external/tensorflow/tensorflow/python/training/
Dbasic_session_run_hooks_test.py263 self.assertRegexpMatches(str(self.logged_message), t.name)
275 self.assertRegexpMatches(str(self.logged_message), t.name)
283 self.assertRegexpMatches(str(self.logged_message), t.name)
294 self.assertRegexpMatches(str(self.logged_message), t.name)
322 self.assertRegexpMatches(str(self.logged_message), 'foo')
337 self.assertRegexpMatches(str(self.logged_message), t.name)
347 self.assertRegexpMatches(str(self.logged_message), t.name)
352 self.assertRegexpMatches(str(self.logged_message), t.name)
1032 self.assertRegexpMatches(
1387 self.assertRegexpMatches(
/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dgraph_actions_test.py132 self.assertRegexpMatches(primary_ckpt_path, pattern)
136 self.assertRegexpMatches(ckpt_path, pattern)
442 self.assertRegexpMatches(primary_ckpt_path, pattern)
446 self.assertRegexpMatches(ckpt_path, pattern)
/external/tensorflow/tensorflow/compiler/tests/
Dxla_ops_test.py320 self.assertRegexpMatches(
333 self.assertRegexpMatches(
/external/autotest/scheduler/
Ddrone_utility_unittest.py138 self.assertRegexpMatches(warnings[0], '.*autoserv.*369.*')

123