(writer)
| 153 | |
| 154 | |
| 155 | def test_using_logging_function(writer): |
| 156 | with make_logging_logger(None, InterceptHandler()): |
| 157 | logger.add(writer, format="{function} {line} {module} {file.name} {message}") |
| 158 | logging.warning("ABC") |
| 159 | |
| 160 | result = writer.read() |
| 161 | assert result == "test_using_logging_function 158 test_interception test_interception.py ABC\n" |
nothing calls this directly
no test coverage detected
searching dependent graphs…