Skip to content

Commit

Permalink
MAINT: Flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Kamens committed May 1, 2015
1 parent 557e6a3 commit fd0530d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions tests/test_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
nullctx,
setup_logger,
teardown_logger

)
import zipline.utils.factory as factory
import zipline.utils.simfactory as simfactory
Expand Down Expand Up @@ -449,7 +448,7 @@ def setUp(self):
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)
Expand Down Expand Up @@ -499,7 +498,7 @@ def setUp(self):
}

def tearDown(self):
teardown_logger(self);
teardown_logger(self)

def test_noop(self):
algo = TradingAlgorithm(initialize=initialize_noop,
Expand Down
4 changes: 2 additions & 2 deletions tests/test_batchtransform.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def setUp(self):
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)
Expand Down Expand Up @@ -171,7 +171,7 @@ def setUp(self):
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)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_security_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def setUp(self):
setup_logger(self)

def tearDown(self):
teardown_logger(self);
teardown_logger(self)

def test_iterate_over_rl(self):
sim_params = factory.create_simulation_parameters(
Expand Down
2 changes: 1 addition & 1 deletion tests/test_transforms_talib.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def setUp(self):
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):
Expand Down

0 comments on commit fd0530d

Please sign in to comment.