1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-03 11:00:57 +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):
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