We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd9cdef commit 3a89ec1Copy full SHA for 3a89ec1
1 file changed
tests/unit/test_run.py
@@ -3000,9 +3000,9 @@ def test_convert_unit_context(scm_run):
3000
assert all(obs["unit_context"] == "AR4GWP100")
3001
3002
error_msg = (
3003
- "Cannot convert from 'SF5CF3 * kilogram / yr' "
3004
- "([SF5CF3] * [mass] / [time]) to "
3005
- "'CO2 * kilogram / yr' ([carbon] * [mass] / [time])"
+ "Cannot convert from 'kilogram * SF5CF3 / yr' "
+ "([mass] * [SF5CF3] / [time]) to "
+ "'kilogram * CO2 / yr' ([mass] * [carbon] / [time])"
3006
)
3007
with pytest.raises(DimensionalityError, match=re.escape(error_msg)):
3008
scm_run.convert_unit("kg CO2 / yr")
0 commit comments