def test_legacy_hickles():

    try:
        a = load("hickle_1_1_0.hkl")
        b = load("hickle_1_3_0.hkl")
        
        import h5py
        d = h5py.File("hickle_1_1_0.hkl")["data"]["a"][:]
        d2 = h5py.File("hickle_1_3_0.hkl")["data"]["a"][:]
        assert np.allclose(d, a["a"])
        assert np.allclose(d2, b["a"])
        
    except __HOLE__:
        # For travis-CI
        a = load("tests/hickle_1_1_0.hkl")
        b = load("tests/hickle_1_3_0.hkl")
    
    print a 
    print b
dataset/ETHPy150Open telegraphic/hickle/tests/test_hickle.py/test_legacy_hickles