

def testFourByte(self):
    fo = StringIO.StringIO(struct.pack('<BBBB', 255, 255, 255, 127))
    out = parquet.encoding.read_unsigned_var_int(fo)
    self.assertEquals(268435455, out)

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/parquet-python/test/test_encoding.py TestVarInt.testFourByte/original