diff --git a/test/basetest/utils.py b/test/basetest/utils.py index c0781aefb..f5fafe002 100644 --- a/test/basetest/utils.py +++ b/test/basetest/utils.py @@ -123,12 +123,8 @@ def _queue_output(arguments, pidq, outputq): return - # NOTE If for whatever reason pid is None at the time of access, use the - # following line instead - # pid = wait_condition(lambda: proc.pid) - pid = proc.pid - # Put the PID in the queue for main process to know - pidq.put(pid) + # Put the PID in the queue for main process to know. + pidq.put(proc.pid) # Send input and wait for finish out, err = proc.communicate(input)