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 12:53:52 +08:00
parent f206f0a6da
commit 4023277874

View File

@@ -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