We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f5898e commit 4de6762Copy full SHA for 4de6762
tests/test_init.py
@@ -12,14 +12,14 @@
12
from tiatoolbox import DuplicateFilter, logger
13
14
15
-def test_set_root_dir(tmp_path: Path) -> None:
+def test_set_root_dir(track_tmp_path: Path) -> None:
16
"""Test for setting new root dir."""
17
# skipcq
18
importlib.reload(tiatoolbox)
19
from tiatoolbox import rcParam # noqa: PLC0415
20
21
old_root_dir = rcParam["TIATOOLBOX_HOME"]
22
- test_dir_path = tmp_path / "tmp_check"
+ test_dir_path = track_tmp_path / "tmp_check"
23
# clean up previous test
24
if Path.exists(test_dir_path):
25
Path.rmdir(test_dir_path)
0 commit comments