def test00b(self):
        """Checking remove_node (over several Leaves)"""

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

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

        # Delete a couple of arrays
        self.h5file.remove_node('/anarray')
        self.h5file.remove_node('/agroup/anarray2')

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

        # Check that arrays has come into life
        self.assertTrue(self.h5file in "/anarray")
        self.assertTrue("/agroup/anarray2" in self.h5file)
        self.assertEqual(self.h5file.root.anarray.title, "Array title")
        self.assertEqual(
            self.h5file.root.agroup.anarray2.title, "Array title 2")

        # Redo the operation
        self.h5file.redo()

        # Check that arrays has disappeared again
        self.assertTrue("/anarray" not in self.h5file)
        self.assertTrue("/agroup/anarray2" not in self.h5file)
dataset/ETHPy150Open PyTables/PyTables/tables/tests/test_do_undo.py/RemoveNodeTestCase.test00b/swapped operands of `in`