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