

def testFromExample(self):
    raw_data_in = [136, 198, 250]
    encoded_bitstring = array.array('B', raw_data_in).tostring()
    fo = StringIO.StringIO(self)
    count = (3 << 1)
    res = parquet.encoding.read_bitpacked(fo, count, 3)
    self.assertEquals(range(8), res)

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/parquet-python/test/test_encoding.py TestBitPacked.testFromExample/VarMisuse@41/60 `encoded_bitstring`->`self`