From 0c14952136a3b1aef4b046aacbee191916df2e42 Mon Sep 17 00:00:00 2001 From: Linlang Date: Wed, 6 Mar 2024 13:57:37 +0800 Subject: [PATCH] test fix CI error --- tests/test_workflow.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/test_workflow.py b/tests/test_workflow.py index b71c664ae9..56a8e80ce3 100644 --- a/tests/test_workflow.py +++ b/tests/test_workflow.py @@ -9,7 +9,7 @@ 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 @@ def tearDown(self) -> None: 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