def test_list():
    filename, mode = 'test.h5', 'w'
    list_obj = [1, 2, 3, 4, 5]
    dump(list_obj, filename, mode)
    list_hkl = load(filename)
    #print "Initial list:   %s"%list_obj
    #print "Unhickled data: %s"%list_hkl
    try:
        assert type(list_obj) == type(list_hkl) == list
        assert list_obj == list_hkl
        import h5py
        a = h5py.File(filename)

        os.remove(filename)
    except AssertionError:
        print "ERR:", list_obj, list_hkl
        import h5py
        os.remove(filename)
        raise
Returns a list of idle domain groups (one for each idle state). Each group is a
dataset/ETHPy150Open telegraphic/hickle/tests/test_hickle.py/test_list--crossover with--dataset/ETHPy150Open ARM-software/workload-automation/wlauto/utils/power.py/build_idle_domains