mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-12 11:50:11 +08:00
ENH: Add builtin factors for correlation and regression
This commit is contained in:
@@ -7,7 +7,7 @@ from unittest import TestCase
|
||||
|
||||
from zipline.errors import (
|
||||
DTypeNotSpecified,
|
||||
WindowedInputToWindowedTerm,
|
||||
NonWindowSafeInput,
|
||||
NotDType,
|
||||
TermInputsNotSpecified,
|
||||
TermOutputsEmpty,
|
||||
@@ -198,7 +198,7 @@ class DependencyResolutionTestCase(TestCase):
|
||||
|
||||
def test_disallow_recursive_lookback(self):
|
||||
|
||||
with self.assertRaises(WindowedInputToWindowedTerm):
|
||||
with self.assertRaises(NonWindowSafeInput):
|
||||
SomeFactor(inputs=[SomeFactor(), SomeDataSet.foo])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user