From 4ed0250424ec8d20413a289c72f401abbf3c2681 Mon Sep 17 00:00:00 2001 From: fawce Date: Wed, 1 May 2013 22:42:17 -0400 Subject: [PATCH] added a fake window_length to be compatible with transform protocol --- zipline/utils/test_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/zipline/utils/test_utils.py b/zipline/utils/test_utils.py index 149c5a5d..4642003b 100644 --- a/zipline/utils/test_utils.py +++ b/zipline/utils/test_utils.py @@ -141,6 +141,7 @@ class ExceptionSource(object): class ExceptionTransform(object): def __init__(self): + self.window_length = 1 pass def get_hash(self):