From ebacff1b3915435365b9391e768f4547b558081d Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Sat, 9 Jan 2021 16:41:57 -0800 Subject: [PATCH] tests: Fix debug logging test --- tests/test_logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_logging.py b/tests/test_logging.py index 5fac42b4..6bbd551f 100644 --- a/tests/test_logging.py +++ b/tests/test_logging.py @@ -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)