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