def test00a_repr(self):
        """Checking string representation of Cols."""

        tbl = self.h5file.create_table(
            '/', 'test', self._TestTDescr, title="test00")

        if self.reopen:
            self._reopen()
            tbl = self.h5file.root.test

        if common.verbose:
            print("str(tbl.cols)-->", str(tbl.cols))
            print("repr(tbl.cols)-->", repr(tbl.cols))

        self.assertEqual(str(tbl.cols), "/test.cols (Cols), 6 columns")
        try:
            self.assertEqual(repr(tbl.cols),
                             """/test.cols (Cols), 6 columns
  x (Column(0, 2), ('int32',(2,)))
  Info (Cols(), Description)
  color (Column(0,), |S2)
  info (Cols(), Description)
  y (Column(0, 2, 2), ('float64',(2, 2)))
  z (Column(0,), uint8)
"""
                             )
        except __HOLE__:
            self.assertEqual(repr(tbl.cols),
                             """/test.cols (Cols), 6 columns
  x (Column(0, 2), ('%s', (2,)))
  Info (Cols(), Description)
  color (Column(0,), |S2)
  info (Cols(), Description)
  y (Column(0, 2, 2), ('%s', (2, 2)))
  z (Column(0,), uint8)
""" % (numpy.int32(0).dtype.str, numpy.float64(0).dtype.str))
dataset/ETHPy150Open PyTables/PyTables/tables/tests/test_nestedtypes.py/ColsTestCase.test00a_repr