mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-19 12:00:15 +08:00
updated based on PR feedback.
This commit is contained in:
@@ -303,10 +303,6 @@ class BatchTransformTestCase(TestCase):
|
||||
|
||||
# test overloaded class
|
||||
for test_history in [algo.history_return_price_class, algo.history_return_price_decorator]:
|
||||
self.assertTrue(np.all(test_history[2].values.flatten() == range(4, 10)))
|
||||
self.assertTrue(np.all(test_history[3].values.flatten() == range(4, 10)))
|
||||
self.assertTrue(np.all(test_history[4].values.flatten() == range(6, 14)))
|
||||
|
||||
np.testing.assert_array_equal(
|
||||
range(4, 10),
|
||||
test_history[2].values.flatten()
|
||||
|
||||
Reference in New Issue
Block a user