Skip to content

Commit

Permalink
style comment - open can take a path objects
Browse files Browse the repository at this point in the history
  • Loading branch information
bgenchel committed Jul 31, 2024
1 parent 9f5067a commit c99353d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/data/test_maestro.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def test_maestro_invalid_tracks(tmp_path: pathlib.Path) -> None:
)

for track_id, split in input_data:
with open(str(tmp_path / f"output_{split}.txt"), "r") as fp:
with open(tmp_path / f"output_{split}.txt", "r") as fp:
assert fp.read().strip() == track_id


Expand Down Expand Up @@ -174,7 +174,7 @@ def test_maestro_invalid_tracks_over_15_min(tmp_path: pathlib.Path) -> None:
)

for _, split in input_data:
with open(str(tmp_path / f"output_{split}.txt"), "r") as fp:
with open(tmp_path / f"output_{split}.txt", "r") as fp:
assert fp.read().strip() == ""


Expand Down

0 comments on commit c99353d

Please sign in to comment.