def METHOD_NAME(self):
    unit = self.UnitClass("Test String:p")
    unit2 = self.UnitClass("Test String:p")
    assert unit == unit2
    unit2.format_value_type = "d"
    assert unit != unit2
    unit.format_value_type = "d"
    assert unit == unit2