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:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user