Skip to content

Commit d66da94

Browse files
committed
use pathlib operations where possible
1 parent 43e88da commit d66da94

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_sdds.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import io
2-
import os
32
import pathlib
43
import struct
54
import sys
@@ -371,7 +370,7 @@ def _sdds_gzipped_file_pathlib() -> pathlib.Path:
371370

372371
@pytest.fixture()
373372
def _sdds_gzipped_file_str() -> str:
374-
return os.path.join(os.path.dirname(__file__), "inputs", "test_file.sdds.gz")
373+
return str(CURRENT_DIR / "inputs" / "test_file.sdds.gz")
375374

376375

377376
@pytest.fixture()

0 commit comments

Comments
 (0)