Actually construct TimeoutExpired
This commit is contained in:
parent
96b2ae6654
commit
870a93c37b
|
@ -1072,7 +1072,7 @@ class Testdir(object):
|
||||||
try:
|
try:
|
||||||
ret = popen.wait(timeout)
|
ret = popen.wait(timeout)
|
||||||
except subprocess.TimeoutExpired:
|
except subprocess.TimeoutExpired:
|
||||||
raise self.TimeoutExpired
|
raise self.TimeoutExpired()
|
||||||
else:
|
else:
|
||||||
end = monotonic.monotonic() + timeout
|
end = monotonic.monotonic() + timeout
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue