def test_footer_bytes(self): with open(self.f) as fo: self.assertEquals(327, parquet._get_footer_size(fo))
def test_footer_bytes(self): with io.open(TEST_FILE, 'rb') as fo: self.assertEquals(327, parquet._get_footer_size(fo))
def test_footer_bytes(self): """Test reading the footer size value.""" with io.open(TEST_FILE, 'rb') as fo: self.assertEquals(327, parquet._get_footer_size(fo))