def test02(self):

        if self.reopen:
            self._reopen()
        table = self.h5file.root.table

        if common.verbose:
            print("The values look like:", table.cols.var2[:])
            print("They should look like:", [[1, 1]])

        # The real check
        self.assertEqual(table.cols.var2[:].tolist(), [[1, 1]])
        self.assertEqual(table.cols.var2_s[:].tolist(), [[1, 1]])
Checking undimensional (two elements) shapes
dataset/ETHPy150Open PyTables/PyTables/tables/tests/test_tablesMD.py/ShapeTestCase.test02