def verify(self, retcode, timeout, stdout, stderr):
        if getattr(self, "_timed_out", False):
            raise ProcessTimedOut("Process did not terminate within %s seconds" % (timeout,),
                getattr(self, "argv", None))

        if retcode is not None:
            if hasattr(retcode, "__contains__"):
                if self.returncode not in retcode:
                    raise ProcessExecutionError(getattr(self, "argv", None), self.returncode,
                        stdout, stderr)
            elif self.returncode != retcode:
                raise ProcessExecutionError(getattr(self, "argv", None), self.returncode,
                    stdout, stderr)
Test merge of single-component
dataset/ETHPy150Open tomerfiliba/plumbum/plumbum/machines/base.py/PopenAddons.verify--crossover with--dataset/ETHPy150Open sahana/eden/modules/unit_tests/s3/s3resource.py/MergePersonsTests.testMergeSingleComponent