Skip to content

Commit

Permalink
changed path with os.sep
Browse files Browse the repository at this point in the history
Co-authored-by: Adam J. Stewart <[email protected]>
  • Loading branch information
lccol and adamjstewart authored Jan 22, 2025
1 parent ada773e commit 63bbbd4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/datasets/test_mmflood.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ class TestMMFlood:
def dataset(
self, monkeypatch: MonkeyPatch, tmp_path: Path, request: SubRequest
) -> MMFlood:
dataset_root = os.path.join('tests', 'data', 'mmflood/')
url = os.path.join(dataset_root)
url = os.path.join('tests', 'data', 'mmflood') + os.sep

monkeypatch.setattr(MMFlood, 'url', url)
monkeypatch.setattr(MMFlood, '_nparts', 2)
Expand Down

0 comments on commit 63bbbd4

Please sign in to comment.