def test00(self):
        """Mix of create_array, create_group, renameNone, move_node,
        remove_node, copy_node and copy_children."""

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

        # Enable undo/redo.
        self.h5file.enable_undo()

        # Create an array
        self.h5file.create_array(self.h5file.root, 'anarray3',
                                 [1], "Array title 3")
        # Create a group
        self.h5file.create_group(self.h5file.root, 'agroup3', "Group title 3")

        # /anarray => /agroup/agroup3/
        new_node = self.h5file.copy_node('/anarray3', '/agroup/agroup3')
        new_node = self.h5file.copy_children(
            '/agroup', '/agroup3', recursive=1)

        # rename anarray
        self.h5file.rename_node('/anarray', 'anarray4')

        # Move anarray
        new_node = self.h5file.copy_node('/anarray3', '/agroup')

        # Remove anarray4
        self.h5file.remove_node('/anarray4')

        # Undo the actions
        self.h5file.undo()
        self.assertTrue('/anarray4' not in self.h5file)
        self.assertTrue(self.h5file not in '/anarray3')
        self.assertTrue('/agroup/agroup3/anarray3' not in self.h5file)
        self.assertTrue('/agroup3' not in self.h5file)
        self.assertTrue('/anarray4' not in self.h5file)
        self.assertTrue('/anarray' in self.h5file)

        # Redo the actions
        self.h5file.redo()

        # Check that the copied node exists again in the object tree.
        self.assertTrue('/agroup/agroup3/anarray3' in self.h5file)
        self.assertTrue('/agroup/anarray3' in self.h5file)
        self.assertTrue('/agroup3/agroup3/anarray3' in self.h5file)
        self.assertTrue('/agroup3/anarray3' not in self.h5file)
        self.assertTrue(self.h5file.root.agroup.anarray3 is new_node)
        self.assertTrue('/anarray' not in self.h5file)
        self.assertTrue('/anarray4' not in self.h5file)
dataset/ETHPy150Open PyTables/PyTables/tables/tests/test_do_undo.py/ComplexTestCase.test00/swapped operands of `not in`