def clean_semver(cls, version_spec):
        return re.sub(r"([<>=~])\s+?v?", "\\1", version_spec, re.IGNORECASE)
def test_disk_usage_sensor_is_stateless():
    sensor = disk_usage.DiskUsage()
    ok_([] != sensor.measure())