def test00_version(self):
        """Checking index version."""

        t1var1 = self.table1.cols.var1
        if "2_0" in self.h5fname:
            self.assertEqual(t1var1.index._v_version, "2.0")
        elif "2_1" in self.h5fname:
            self.assertEqual(t1var1.index._v_version, "2.1")
dataset/ETHPy150Open PyTables/PyTables/tables/tests/test_index_backcompat.py/IndexesTestCase.test00_version/original