From 2732922e1d25803cab269552258ec66cd94133a8 Mon Sep 17 00:00:00 2001 From: Alex Hall Date: Fri, 3 May 2019 19:23:16 +0200 Subject: [PATCH] Test output directly to Path object (currently fails) --- tests/test_pysnooper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_pysnooper.py b/tests/test_pysnooper.py index 10d3620..f5ade3d 100644 --- a/tests/test_pysnooper.py +++ b/tests/test_pysnooper.py @@ -412,7 +412,7 @@ def test_file_output(): with temp_file_tools.create_temp_folder(prefix='pysnooper') as folder: path = folder / 'foo.log' - @pysnooper.snoop(str(path)) + @pysnooper.snoop(path) def my_function(_foo): x = 7 y = 8