Skip to content

Commit

Permalink
tests: Fix path issue on annoying operating system
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Nov 26, 2024
1 parent 6c5b5c3 commit 9f52d28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ def test_extension_paths(tmp_path: Path, expect_change: bool, extension: str | d
assert normalized == str(tmp_path.joinpath(extension))
elif isinstance(normalized, dict) and isinstance(extension, dict):
pth, options = next(iter(extension.items()))
assert normalized == {str(tmp_path.joinpath(pth)): options}
#
assert normalized == {str(Path(tmp_path, pth)): options}
else:
raise ValueError("Normalization must not change extension items type")
else:
Expand Down

0 comments on commit 9f52d28

Please sign in to comment.