Skip to content

Commit

Permalink
Thrash.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois committed Jan 12, 2025
1 parent 3160dbb commit a18710f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions python/tests/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,7 @@ def test_download_http_mirror(pyproject_toml: Path, server: Server) -> None:

def test_download_file_mirror(pyproject_toml: Path, tmp_path: Path) -> None:
mirror_dir = tmp_path / "mirror"
mirror_url = (
f"file:///{mirror_dir.as_posix()}"
if Platform.current().is_windows
else f"file://{mirror_dir}"
)
mirror_url = f"file:{'///' if Platform.current().is_windows else '//'}{mirror_dir}"
pyproject_toml.write_text(
dedent(
f"""\
Expand Down

0 comments on commit a18710f

Please sign in to comment.