def test00(self):
        """Checking remove_node (over Leaf)"""

        if common.verbose:
            print('\n', '-=' * 30)
            print(self.__class__.__name__ % "Running %s.test00...")

        # open the do/undo
        self.h5file.enable_undo()

        # Delete an existing array
        self.h5file.remove_node('/anarray')

        # Now undo the past operation
        self.h5file.undo()

        # Check that it does exist in the object tree
        self.assertTrue("/anarray" in self.h5file)
        self.assertEqual(self.h5file.root.anarray.title, "Array title")

        # Redo the operation
        self.h5file.redo()

        # Check that array has gone again
        self.assertTrue("/anarray" not in self.h5file)
dataset/ETHPy150Open PyTables/PyTables/tables/tests/test_do_undo.py/RemoveNodeTestCase.test00/swapped operands of `%`