Fix ndict woes.

This commit is contained in:
Stephen Diehl
2012-05-14 13:49:45 -04:00
parent d0d48ab7df
commit d399edd419
5 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ class FinanceTestCase(TestCase):
# tell the simulator to fill the orders in individual transactions
# matching the order volume exactly.
self.zipline_test_config['simulation_style'] = \
SIMULATION_STYLE.FIXED_SLIPPAGE
SIMULATION_STYLE.FIXED_SLIPPAGE
self.zipline_test_config['environment'] = factory.create_trading_environment()
sid_list = [self.zipline_test_config['sid']]
+1
View File
@@ -32,6 +32,7 @@ def test_ndict():
assert '__iter__' not in nd
assert not nd.__dict__.has_key('x')
assert nd.get('__init__') is None
assert 'x' not in set(dir(nd))
# Comparison
nd2 = nd.copy()