Skip to content

Commit 9f52d28

Browse files
committed
tests: Fix path issue on annoying operating system
1 parent 6c5b5c3 commit 9f52d28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_handler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ def test_extension_paths(tmp_path: Path, expect_change: bool, extension: str | d
141141
assert normalized == str(tmp_path.joinpath(extension))
142142
elif isinstance(normalized, dict) and isinstance(extension, dict):
143143
pth, options = next(iter(extension.items()))
144-
assert normalized == {str(tmp_path.joinpath(pth)): options}
144+
#
145+
assert normalized == {str(Path(tmp_path, pth)): options}
145146
else:
146147
raise ValueError("Normalization must not change extension items type")
147148
else:

0 commit comments

Comments
 (0)