Searched refs:assertLogs (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Lib/unittest/test/ |
D | test_case.py | 1592 with self.assertLogs() as cm: 1601 with self.assertLogs() as cm: 1612 with self.assertLogs(level=level) as cm: 1627 with self.assertLogs(level='DEBUG') as outer_cm: 1628 with self.assertLogs(logger, level='DEBUG') as cm: 1646 with self.assertLogs(): 1653 with self.assertLogs(level='WARNING'): 1659 with self.assertLogs('quux', level='ERROR'): 1661 with self.assertLogs('foo'):
|
/external/fonttools/Tests/feaLib/ |
D | builder_test.py | 519 with self.assertLogs(level='WARNING') as logs:
|
/external/python/cpython3/Lib/test/ |
D | test_concurrent_futures.py | 266 with self.assertLogs('concurrent.futures', 'CRITICAL') as cm:
|
/external/python/cpython3/Lib/unittest/ |
D | case.py | 779 def assertLogs(self, logger=None, level=None): member in TestCase
|
/external/python/cpython3/Doc/library/ |
D | unittest.rst | 942 …| :meth:`assertLogs(logger, level) | The ``with`` block logs on *logger* |… 943 …| <TestCase.assertLogs>` | with minimum *level* |… 1075 .. method:: assertLogs(logger=None, level=None) 1108 with self.assertLogs('foo', level='INFO') as cm:
|
/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
|