def testBigEndianIntHeightMap(self):
        chunk = nbt.load("testfiles/AnvilChunk.dat")

        hm = chunk["Level"]["HeightMap"]
        hm.value[2] = 500
        oldhm = numpy.array(hm.value)

        filename = mktemp("ChangedChunk")
        chunk.save(filename)
        changedChunk = nbt.load(filename)
        os.unlink(filename)

        eq = (changedChunk["Level"]["HeightMap"].value == oldhm)
        assert eq.all()
Convert a json ovsdb return value to native python object
dataset/ETHPy150Open mcedit/pymclevel/test/anvil_test.py/TestAnvilLevel.testBigEndianIntHeightMap--crossover with--dataset/ETHPy150Open openstack/neutron/neutron/agent/ovsdb/api.py/val_to_py