1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-14 16:26:55 +08:00

test fix CI error

This commit is contained in:
Linlang
2024-03-06 13:57:37 +08:00
parent e979590083
commit 0c14952136

View File

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