message_ix_models.model.transport.testing.assert_units

message_ix_models.model.transport.testing.assert_units(df: pandas.DataFrame, expected: str | dict | pint.Unit | pint.Quantity)[source]

Assert that df has the unique, expected units.