Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
andersonfrailey committed May 23, 2017
1 parent 846fc38 commit 2bd0d6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion taxcalc/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,8 @@ def test_diff_table_sum_row(puf_1991, weights_1991):
groupby='small_income_bins')
tdiff2 = create_difference_table(calc1.records, calc2.records,
groupby='large_income_bins')
non_digit_cols = ['mean', 'perc_inc', 'perc_cut', 'share_of_change']
non_digit_cols = ['mean', 'perc_inc', 'perc_cut', 'share_of_change',
'aftertax_perc']
digit_cols = [x for x in tdiff1.columns.tolist() if
x not in non_digit_cols]
assert np.allclose(tdiff1[digit_cols][-1:], tdiff2[digit_cols][-1:])
Expand Down

0 comments on commit 2bd0d6c

Please sign in to comment.