mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
commit
1ed2e69a4a
14 changed files with 16 additions and 16 deletions
|
@ -1349,7 +1349,7 @@ test case
|
|||
self.checkAssertLogsPerLevel('ERROR')
|
||||
|
||||
def checkAssertLogsPerLogger(self, logger):
|
||||
# Check per-logger fitering
|
||||
# Check per-logger filtering
|
||||
with self.assertNoStderr():
|
||||
with self.assertLogs(level='DEBUG') as outer_cm:
|
||||
with self.assertLogs(logger, level='DEBUG') as cm:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue