File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
tests/data_mid_layer_tests Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 6969 max_attempts : 3
7070 command : |
7171 cd tests
72- python -m pytest . -m "slow" --durations=0
72+ python -m pytest -s . -m "slow" --durations=0
Original file line number Diff line number Diff line change 1111from qlib .data .dataset .handler import DataHandlerLP
1212from qlib .contrib .data .loader import Alpha158DL , Alpha360DL
1313from qlib .data import D
14+ import logging
15+
16+ logging .basicConfig (level = logging .INFO )
1417
1518
1619class TestDataLoader (unittest .TestCase ):
1720
1821 def test_nested_data_loader (self ):
19- qlib .init ()
22+ print ("debug info\n " )
23+ qlib .init (kernels = 1 )
2024 nd = NestedDataLoader (
2125 dataloader_l = [
2226 {
@@ -30,7 +34,7 @@ def test_nested_data_loader(self):
3034 )
3135 # Of course you can use StaticDataLoader
3236
33- dataset = nd .load ()
37+ dataset = nd .load (start_time = "2020-01-01" , end_time = "2020-01-31" )
3438
3539 assert dataset is not None
3640
You can’t perform that action at this time.
0 commit comments