Home
last modified time | relevance | path

Searched refs:assertLogs (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/python/eager/
Ddef_function_test.py793 with self.assertLogs(level='WARN') as logs:
810 with self.assertLogs(level='WARN') as logs:
832 with self.assertLogs(level='WARN') as logs:
854 with self.assertLogs(level='WARN') as logs:
884 with self.assertLogs(level='WARN') as logs:
911 with self.assertLogs(level='WARN') as logs:
943 with self.assertLogs(level='WARN') as logs:
965 with self.assertLogs(level='WARN') as logs:
/external/tensorflow/tensorflow/python/distribute/
Dcollective_util_test.py35 with self.assertLogs() as cm:
/external/python/cpython3/Lib/unittest/test/
Dtest_case.py1597 with self.assertLogs() as cm:
1606 with self.assertLogs() as cm:
1617 with self.assertLogs(level=level) as cm:
1632 with self.assertLogs(level='DEBUG') as outer_cm:
1633 with self.assertLogs(logger, level='DEBUG') as cm:
1651 with self.assertLogs():
1658 with self.assertLogs(level='WARNING'):
1664 with self.assertLogs('quux', level='ERROR'):
1666 with self.assertLogs('foo'):
/external/tensorflow/tensorflow/python/tpu/
Dtpu_embedding_v2_utils_test.py110 with self.assertLogs() as logs:
/external/pigweed/pw_tokenizer/py/
Dtokens_test.py125 with self.assertLogs(_LOG, logging.ERROR) as logs:
/external/pigweed/pw_rpc/py/tests/
Dcallback_client_test.py240 with self.assertLogs(callback_client.__name__, 'ERROR') as logs:
/external/python/cpython3/Lib/unittest/
Dcase.py769 def assertLogs(self, logger=None, level=None): member in TestCase
/external/tensorflow/tensorflow/python/saved_model/
Dsave_test.py307 with self.assertLogs(level="WARNING") as logs:
Dload_test.py1362 with self.assertLogs(level="WARNING") as logs:
2138 with self.assertLogs(level="WARNING") as logs:
/external/python/cpython3/Doc/library/
Dunittest.rst950 …| :meth:`assertLogs(logger, level) | The ``with`` block logs on *logger* |…
951 …| <TestCase.assertLogs>` | with minimum *level* |…
1083 .. method:: assertLogs(logger=None, level=None)
1117 with self.assertLogs('foo', level='INFO') as cm:
/external/python/cpython3/Lib/test/
Dtest_concurrent_futures.py272 with self.assertLogs('concurrent.futures', 'CRITICAL') as cm:
/external/python/cpython3/Misc/NEWS.d/
D3.9.0a6.rst377 when the :meth:`~unittest.TestCase.assertLogs` assertion is used.
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_test.py3675 with self.assertLogs(level=1) as logs:
3691 with self.assertLogs(level=1) as eval_logs:
/external/python/cpython3/Doc/whatsnew/
D3.4.rst1696 A new test assertion context-manager, :meth:`~unittest.TestCase.assertLogs`,
/external/python/cpython3/Misc/
DHISTORY3974 - Issue #18937: Add an assertLogs() context manager to unittest.TestCase