tests: Fix debug logging test

This commit is contained in:
James R. Barlow
2021-01-09 16:41:57 -08:00
parent c7c447be66
commit ebacff1b39
+1 -1
View File
@@ -16,6 +16,6 @@ def test_debug_logging(tmp_path):
# See https://github.com/pytest-dev/pytest/issues/5502 for pytest logging quirks
prefix = 'test_debug_logging'
log = logging.getLogger(prefix)
handler = configure_debug_logging(tmp_path, prefix)
handler = configure_debug_logging(tmp_path / 'test.log', prefix)
log.info("test message")
log.removeHandler(handler)