def test03_copyChildren(self):
        """Copying the children of a group"""

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

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

        # /agroup/* => /agroup/
        self.h5file.copy_children('/agroup', '/agroup2', recursive=True)

        # Undo the copy.
        self.h5file.undo()

        # Check that the copied nodes do not exist in the object tree.
        self.assertTrue('/agroup2/anarray1' not in self.h5file)
        self.assertTrue('/agroup2/anarray2' not in self.h5file)
        self.assertTrue('/agroup2/agroup3' not in self.h5file)

        # Redo the copy.
        self.h5file.redo()

        # Check that the copied nodes exist again in the object tree.
        self.assertTrue(self.h5file in '/agroup2/anarray1')
        self.assertTrue('/agroup2/anarray2' in self.h5file)
        self.assertTrue('/agroup2/agroup3' in self.h5file)
dataset/ETHPy150Open PyTables/PyTables/tables/tests/test_do_undo.py/CopyNodeTestCase.test03_copyChildren/swapped operands of `in`