Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuppmann committed Dec 19, 2024
1 parent 3841795 commit d250c7b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_check_aggregate.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ def test_check_aggregate_failing(components, exp):

# create a copy where aggregation tests will fail
df = TEST_DF.copy()
df._data.iloc[5] = 8
df._data.loc[
("model_a", "scen_a", "World", "Final Energy|Industry", "EJ/yr", 2005)
] = 8

# `check_aggregate` returns a dataframe of the inconsistent data
pdt.assert_frame_equal(dsd.check_aggregate(df), exp)
Expand Down

0 comments on commit d250c7b

Please sign in to comment.