Skip to content

Commit 4de6762

Browse files
committed
🗑️ Update test_init.py
1 parent 9f5898e commit 4de6762

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_init.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
from tiatoolbox import DuplicateFilter, logger
1313

1414

15-
def test_set_root_dir(tmp_path: Path) -> None:
15+
def test_set_root_dir(track_tmp_path: Path) -> None:
1616
"""Test for setting new root dir."""
1717
# skipcq
1818
importlib.reload(tiatoolbox)
1919
from tiatoolbox import rcParam # noqa: PLC0415
2020

2121
old_root_dir = rcParam["TIATOOLBOX_HOME"]
22-
test_dir_path = tmp_path / "tmp_check"
22+
test_dir_path = track_tmp_path / "tmp_check"
2323
# clean up previous test
2424
if Path.exists(test_dir_path):
2525
Path.rmdir(test_dir_path)

0 commit comments

Comments
 (0)