mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-21 12:30:16 +08:00
MAINT: Removed unused ExceptionSource
No longer used since our lazy data access changes.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
from .core import ( # noqa
|
||||
EPOCH,
|
||||
ExceptionSource,
|
||||
ExplodingObject,
|
||||
FakeDataPortal,
|
||||
FetcherDataPortal,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user