Skip to content

Commit

Permalink
TST: fixed several tests (478 still failing WIP)
Browse files Browse the repository at this point in the history
  • Loading branch information
AvishaiW committed May 21, 2018
1 parent 41fe3e3 commit 66bcb4c
Show file tree
Hide file tree
Showing 9 changed files with 1,108 additions and 1,108 deletions.
2 changes: 1 addition & 1 deletion catalyst/finance/blotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def get_transactions(self, bar_data):
order.dt = txn.dt

# added for stats
txn.commission = order.commission
txn.commission = additional_commission

transactions.append(txn)

Expand Down
4 changes: 2 additions & 2 deletions etc/requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Testing
coverage==4.0.3
coverage==4.4.1
nose==1.3.7
nose-parameterized==0.5.0
nose-ignore-docstring==0.2
Expand Down Expand Up @@ -43,7 +43,7 @@ mistune==0.7

# Required by tornado
backports.ssl-match-hostname==3.4.0.2;python_version<'3.0'
certifi==2015.4.28
certifi==2018.1.18

# matplotlib dependencies:
tornado==4.2.1
Expand Down
2 changes: 1 addition & 1 deletion tests/calendars/test_trading_calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ def test_sessions_in_range(self):
# pick two sessions
session_count = len(self.calendar.schedule.index)

first_idx = session_count / 3
first_idx = int(session_count / 3)
second_idx = 2 * first_idx

first_session_label = self.calendar.schedule.index[first_idx]
Expand Down
Loading

0 comments on commit 66bcb4c

Please sign in to comment.