diff --git a/tests/test_workflow.py b/tests/test_workflow.py index b71c664ae..56a8e80ce 100644 --- a/tests/test_workflow.py +++ b/tests/test_workflow.py @@ -9,7 +9,7 @@ from qlib.tests import TestAutoData class WorkflowTest(TestAutoData): - TMP_PATH = Path("./.mlruns_tmp/") + TMP_PATH = Path("./.mlruns_tmp/.trash") def tearDown(self) -> None: if self.TMP_PATH.exists(): @@ -17,9 +17,8 @@ class WorkflowTest(TestAutoData): def test_get_local_dir(self): """ """ - folder_path = Path("./.mlruns_tmp/.trash") - folder_path.mkdir(parents=True, exist_ok=True) - print(self.TMP_PATH.resolve()) + self.TMP_PATH.mkdir(parents=True, exist_ok=True) + with R.start(uri=str(self.TMP_PATH)): pass