MAINT: Removes unused mock data function from gens.utils

This function is unused, and on the general path of moving testing
functions out of gens.utils
 # Please enter the commit message for your changes. Lines starting
This commit is contained in:
Eddie Hebert
2013-03-25 15:34:27 -04:00
parent 47f3192728
commit 5118789e9b
-10
View File
@@ -26,16 +26,6 @@ from zipline.protocol import (
)
def mock_raw_event(sid, dt):
event = {
'sid': sid,
'dt': dt,
'price': 1.0,
'volume': 1
}
return event
def alternate(g1, g2):
"""Specialized version of roundrobin for just 2 generators."""
for e1, e2 in izip_longest(g1, g2):