Test output directly to Path object (currently fails)

This commit is contained in:
Alex Hall 2019-05-03 19:23:16 +02:00 committed by Ram Rachum
parent 89d299f20f
commit 2732922e1d

View file

@ -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