

def testFromExample(self):
    encoded_bitstring = array.array('B', [5, 57, 119]).tostring()
    fo = StringIO.StringIO(encoded_bitstring)
    res = parquet.encoding.read_bitpacked_deprecated(fo, 3, 8, 3)
    self.assertEquals(range(8), res)

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