def METHOD_NAME(self):
    ex = OffsetUnitCalculusError(Quantity("1 kg")._units)
    assert (
        str(ex)
        == "Ambiguous operation with offset unit (kilogram). See "
        + OFFSET_ERROR_DOCS_HTML
        + " for guidance."
    )
    ex = OffsetUnitCalculusError(Quantity("1 kg")._units, Quantity("1 s")._units)
    assert (
        str(ex)
        == "Ambiguous operation with offset unit (kilogram, second). See "
        + OFFSET_ERROR_DOCS_HTML
        + " for guidance."
    )
    with pytest.raises(PintError):
        raise ex