From fa1fcb79ab026fb7308a2418ca3076bd615b70c3 Mon Sep 17 00:00:00 2001 From: Moritz Kirmse Date: Mon, 21 Nov 2016 11:00:47 +0100 Subject: [PATCH] reformat comments for pep8 compliance --- urbansim/models/tests/test_transition.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/urbansim/models/tests/test_transition.py b/urbansim/models/tests/test_transition.py index a71ccf31..b7abfdb4 100644 --- a/urbansim/models/tests/test_transition.py +++ b/urbansim/models/tests/test_transition.py @@ -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()