Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/unittest/test/
Dtest_case.py1592 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/
Dbuilder_test.py519 with self.assertLogs(level='WARNING') as logs:
/external/python/cpython3/Lib/test/
Dtest_concurrent_futures.py266 with self.assertLogs('concurrent.futures', 'CRITICAL') as cm:
/external/python/cpython3/Lib/unittest/
Dcase.py779 def assertLogs(self, logger=None, level=None): member in TestCase
/external/python/cpython3/Doc/library/
Dunittest.rst942 …| :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/
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