From 4023277874812ce2c5ce12ff9780a2a1b855a1b0 Mon Sep 17 00:00:00 2001 From: Linlang Date: Wed, 6 Mar 2024 12:53:52 +0800 Subject: [PATCH] test fix CI error --- tests/test_workflow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_workflow.py b/tests/test_workflow.py index 2e60a0d95..04bfb2ce2 100644 --- a/tests/test_workflow.py +++ b/tests/test_workflow.py @@ -10,8 +10,6 @@ from qlib.tests import TestAutoData class WorkflowTest(TestAutoData): TMP_PATH = Path("./.mlruns_tmp/") - TMP_PATH.mkdir() - print("创建的文件夹路径:", TMP_PATH.resolve()) def tearDown(self) -> None: if self.TMP_PATH.exists(): @@ -19,6 +17,8 @@ class WorkflowTest(TestAutoData): def test_get_local_dir(self): """ """ + self.TMP_PATH.mkdir() + print(self.TMP_PATH.resolve()) with R.start(uri=str(self.TMP_PATH)): pass