From a1ff01bc448f0191a71a31af6dbfdaf1db9f39fb Mon Sep 17 00:00:00 2001 From: Willi Ballenthin Date: Mon, 11 May 2026 09:38:43 +0200 Subject: [PATCH] fix: Windows path reference in main --- tests/test_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_main.py b/tests/test_main.py index 0b59aa37..10a316a2 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -70,7 +70,7 @@ def test_main_non_ascii_filename(tmpdir, capsys): std = capsys.readouterr() # but here, we have to use a unicode instance, # because capsys has decoded the output for us. - assert path in std.out + assert Path(path).as_posix() in std.out def test_main_non_ascii_filename_nonexistent(tmpdir, caplog):