Skip to content

Commit 3a89ec1

Browse files
committed
Fix test
1 parent fd9cdef commit 3a89ec1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/unit/test_run.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3000,9 +3000,9 @@ def test_convert_unit_context(scm_run):
30003000
assert all(obs["unit_context"] == "AR4GWP100")
30013001

30023002
error_msg = (
3003-
"Cannot convert from 'SF5CF3 * kilogram / yr' "
3004-
"([SF5CF3] * [mass] / [time]) to "
3005-
"'CO2 * kilogram / yr' ([carbon] * [mass] / [time])"
3003+
"Cannot convert from 'kilogram * SF5CF3 / yr' "
3004+
"([mass] * [SF5CF3] / [time]) to "
3005+
"'kilogram * CO2 / yr' ([mass] * [carbon] / [time])"
30063006
)
30073007
with pytest.raises(DimensionalityError, match=re.escape(error_msg)):
30083008
scm_run.convert_unit("kg CO2 / yr")

0 commit comments

Comments
 (0)