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

Fix test_get_data && test_dump_data

This commit is contained in:
zhupr
2020-09-30 17:42:26 +08:00
committed by you-n-g
parent 1f23eb9a30
commit 80f7c4f81e
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ from get_data import GetData
from dump_bin import DumpData from dump_bin import DumpData
DATA_DIR = Path(__file__).parent.joinpath("test_data") DATA_DIR = Path(__file__).parent.joinpath("test_dump_data")
SOURCE_DIR = DATA_DIR.joinpath("source") SOURCE_DIR = DATA_DIR.joinpath("source")
SOURCE_DIR.mkdir(exist_ok=True, parents=True) SOURCE_DIR.mkdir(exist_ok=True, parents=True)
QLIB_DIR = DATA_DIR.joinpath("qlib") QLIB_DIR = DATA_DIR.joinpath("qlib")

View File

@@ -12,7 +12,7 @@ from get_data import GetData
import qlib import qlib
from qlib.data import D from qlib.data import D
DATA_DIR = Path(__file__).parent.joinpath("test_data") DATA_DIR = Path(__file__).parent.joinpath("test_get_data")
SOURCE_DIR = DATA_DIR.joinpath("source") SOURCE_DIR = DATA_DIR.joinpath("source")
SOURCE_DIR.mkdir(exist_ok=True, parents=True) SOURCE_DIR.mkdir(exist_ok=True, parents=True)
QLIB_DIR = DATA_DIR.joinpath("qlib") QLIB_DIR = DATA_DIR.joinpath("qlib")