def parse_value(value_string):
    match = VALUE_REGEX.search(value_string)
    if match:
        vs = match.group(1)
        value = float(vs) if '.' in vs else int(vs)
        us = match.group(2)
        units = UNITS_MAP.get(us, us)
        return (value, units)
    else:
        return (value_string, None)
When monitored serverset has mtime changed but not the content,
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/utils/misc.py/parse_value--crossover with--dataset/ETHPy150Open pinterest/kingpin/kingpin/tests/kazoo_utils/test_file_watch.py/FileWatchTestCase.test_serverset_content_not_change