

def test_multi(self):
    i_rec = self.encode_decode(self.frame)
    for k in self.frame.keys():
        assert_frame_equal(self.frame[k], i_rec[k])
    l = tuple([self.frame['float'], self.frame['float'].A, self.frame['float'].B, None])
    l_rec = self.encode_decode(l)
    check_arbitrary(l, l_rec)
    l = [self.frame['float'], self.frame['float'].A, self.frame['float'].B, None]
    l_rec = self.encode_decode(l)
    self.assertIsInstance(l_rec, tuple)
    check_arbitrary(l, l_rec)

dataset/ETHPy150Open pydata/pandas/pandas/io/tests/test_packers.py TestNDFrame.test_multi/original