Searched refs:assertLogs (Results 1 – 15 of 15) sorted by relevance
/external/tensorflow/tensorflow/python/eager/ |
D | def_function_test.py | 793 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/ |
D | collective_util_test.py | 35 with self.assertLogs() as cm:
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_case.py | 1597 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/ |
D | tpu_embedding_v2_utils_test.py | 110 with self.assertLogs() as logs:
|
/external/pigweed/pw_tokenizer/py/ |
D | tokens_test.py | 125 with self.assertLogs(_LOG, logging.ERROR) as logs:
|
/external/pigweed/pw_rpc/py/tests/ |
D | callback_client_test.py | 240 with self.assertLogs(callback_client.__name__, 'ERROR') as logs:
|
/external/python/cpython3/Lib/unittest/ |
D | case.py | 769 def assertLogs(self, logger=None, level=None): member in TestCase
|
/external/tensorflow/tensorflow/python/saved_model/ |
D | save_test.py | 307 with self.assertLogs(level="WARNING") as logs:
|
D | load_test.py | 1362 with self.assertLogs(level="WARNING") as logs: 2138 with self.assertLogs(level="WARNING") as logs:
|
/external/python/cpython3/Doc/library/ |
D | unittest.rst | 950 …| :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/ |
D | test_concurrent_futures.py | 272 with self.assertLogs('concurrent.futures', 'CRITICAL') as cm:
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.9.0a6.rst | 377 when the :meth:`~unittest.TestCase.assertLogs` assertion is used.
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_test.py | 3675 with self.assertLogs(level=1) as logs: 3691 with self.assertLogs(level=1) as eval_logs:
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.4.rst | 1696 A new test assertion context-manager, :meth:`~unittest.TestCase.assertLogs`,
|
/external/python/cpython3/Misc/ |
D | HISTORY | 3974 - Issue #18937: Add an assertLogs() context manager to unittest.TestCase
|