Skip to content

Commit

Permalink
Test only for columns that exist in baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
ppinchuk committed Jun 10, 2024
1 parent f5992ba commit c9e9fab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_supply_curve_aggregation.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def check_agg(agg_out, baseline_h5):

truth = truth.fillna('none')
test = test.fillna('none')
test = test[truth.columns]
assert_frame_equal(truth, test, check_dtype=False, rtol=0.0001,
check_index_type=False)
else:
Expand Down

0 comments on commit c9e9fab

Please sign in to comment.