mirror of
https://github.com/wassname/catalyst.git
synced 2026-09-11 12:00:50 +08:00
BUG: Interface of load_adjusted_array is to return a list of arrays
but MultiColumnLoader was returning a list of lists of arrays in some cases.
This commit is contained in:
@@ -79,7 +79,7 @@ class DataFrameFFCLoaderTestCase(TestCase):
|
||||
|
||||
dates_slice = slice(None, 10, None)
|
||||
sids_slice = slice(1, 3, None)
|
||||
adj_array = loader.load_adjusted_array(
|
||||
[adj_array] = loader.load_adjusted_array(
|
||||
[USEquityPricing.close],
|
||||
self.mask.iloc[dates_slice, sids_slice]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user