From 3d7f63f8c1bc576eec56a57997afc57c9f736090 Mon Sep 17 00:00:00 2001 From: Richard Frank Date: Wed, 15 Jun 2016 10:43:20 -0400 Subject: [PATCH] MAINT: Removed unused ExceptionSource No longer used since our lazy data access changes. --- zipline/testing/__init__.py | 1 - zipline/testing/core.py | 18 ------------------ 2 files changed, 19 deletions(-) diff --git a/zipline/testing/__init__.py b/zipline/testing/__init__.py index 66b5e5b9..bc9cff46 100644 --- a/zipline/testing/__init__.py +++ b/zipline/testing/__init__.py @@ -1,6 +1,5 @@ from .core import ( # noqa EPOCH, - ExceptionSource, ExplodingObject, FakeDataPortal, FetcherDataPortal, diff --git a/zipline/testing/core.py b/zipline/testing/core.py index 41c86e9a..d680d55a 100644 --- a/zipline/testing/core.py +++ b/zipline/testing/core.py @@ -170,24 +170,6 @@ def assert_single_position(test, zipline): return output, transaction_count -class ExceptionSource(object): - - def __init__(self): - pass - - def get_hash(self): - return "ExceptionSource" - - def __iter__(self): - return self - - def next(self): - 5 / 0 - - def __next__(self): - 5 / 0 - - @contextmanager def security_list_copy(): old_dir = security_list.SECURITY_LISTS_DIR