MAINT: Flake8

This commit is contained in:
Jonathan Kamens
2015-05-01 11:03:01 -04:00
parent 557e6a3009
commit fd0530d889
4 changed files with 6 additions and 7 deletions
+2 -3
View File
@@ -27,7 +27,6 @@ from zipline.utils.test_utils import (
nullctx,
setup_logger,
teardown_logger
)
import zipline.utils.factory as factory
import zipline.utils.simfactory as simfactory
@@ -449,7 +448,7 @@ class TestPositions(TestCase):
factory.create_test_df_source(self.sim_params)
def tearDown(self):
teardown_logger(self);
teardown_logger(self)
def test_empty_portfolio(self):
algo = EmptyPositionsAlgorithm(sim_params=self.sim_params)
@@ -499,7 +498,7 @@ class TestAlgoScript(TestCase):
}
def tearDown(self):
teardown_logger(self);
teardown_logger(self)
def test_noop(self):
algo = TradingAlgorithm(initialize=initialize_noop,
+2 -2
View File
@@ -140,7 +140,7 @@ class TestBatchTransformMinutely(TestCase):
factory.create_test_df_source(bars='minute')
def tearDown(self):
teardown_logger(self);
teardown_logger(self)
def test_core(self):
algo = BatchTransformAlgorithmMinute(sim_params=self.sim_params)
@@ -171,7 +171,7 @@ class TestBatchTransform(TestCase):
factory.create_test_df_source(self.sim_params)
def tearDown(self):
teardown_logger(self);
teardown_logger(self)
def test_core_functionality(self):
algo = BatchTransformAlgorithm(sim_params=self.sim_params)
+1 -1
View File
@@ -67,7 +67,7 @@ class SecurityListTestCase(TestCase):
setup_logger(self)
def tearDown(self):
teardown_logger(self);
teardown_logger(self)
def test_iterate_over_rl(self):
sim_params = factory.create_simulation_parameters(
+1 -1
View File
@@ -40,7 +40,7 @@ class TestTALIB(TestCase):
factory.create_test_panel_ohlc_source(sim_params)
def tearDown(self):
teardown_logger(self)
teardown_logger(self)
@skip
def test_talib_with_default_params(self):