import array import struct import StringIO import unittest import parquet.encoding from parquet.ttypes import Type class TestPlain(unittest.TestCase): def test_int32(self): self.assertEquals( 999, parquet.encoding.read_plain_int32( StringIO.StringIO(struct.pack("