Skip to content

Commit

Permalink
reformat comments for pep8 compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
Moritz Kirmse authored and Moritz Kirmse committed Nov 21, 2016
1 parent 8b651c4 commit fa1fcb7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions urbansim/models/tests/test_transition.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,11 @@ def test_remove_rows_all(basic_df):

def test_remove_rows_with_accounting(random_df):
control = 30
np.random.seed(10000) # on particular system, a different seed is needed
# to achieve an exact pick
# this workaround should be removed when issue #178 is solved
# on particular system, a different seed is needed
# to achieve an exact pick
# this workaround should be removed when issue #178 is solved
np.random.seed(10000)

new, removed = transition.remove_rows(
random_df, control, accounting_column='some_count')
assert control == random_df.loc[removed]['some_count'].sum()
Expand Down

0 comments on commit fa1fcb7

Please sign in to comment.