diff --git a/tests/pipeline/test_statistical.py b/tests/pipeline/test_statistical.py index 80028b43..d2fdcde0 100644 --- a/tests/pipeline/test_statistical.py +++ b/tests/pipeline/test_statistical.py @@ -373,14 +373,14 @@ class StatisticalBuiltInsTestCase(WithTradingEnvironment, ZiplineTestCase): ) with self.assertRaises(ValueError): - spearman_factor = RollingSpearmanOfReturns( + RollingSpearmanOfReturns( target=my_asset, returns_length=3, correlation_length=1, ) with self.assertRaises(ValueError): - regression_factor = RollingLinearRegressionOfReturns( + RollingLinearRegressionOfReturns( target=my_asset, returns_length=3, regression_length=1,