test_ok2/testing/logging
Ran Benita b13fcb23d7 logging: propagate errors during log message emits
Currently, a bad logging call, e.g.

    logger.info('oops', 'first', 2)

triggers the default logging handling, which is printing an error to
stderr but otherwise continuing.

For regular programs this behavior makes sense, a bad log message
shouldn't take down the program. But during tests, it is better not to
skip over such mistakes, but propagate them to the user.
2020-05-19 11:16:39 +03:00
..
test_fixture.py logging: reuse LoggingCaptureHandler instance since it's expensive to create 2020-05-18 11:27:50 +03:00
test_formatter.py config: typing for create_terminal_writer, re-export TerminalWriter 2020-01-23 14:09:37 +01:00
test_reporting.py logging: propagate errors during log message emits 2020-05-19 11:16:39 +03:00