def test_override_unit(self):
        try:
            VehicleSpeed(42)
        except __HOLE__:
            pass
        else:
            self.fail()

        VehicleSpeed(42, override_unit=True)
dataset/ETHPy150Open openxc/openxc-python/tests/test_measurement.py/MeasurementTests.test_override_unit