Actually construct TimeoutExpired

This commit is contained in:
Kyle Altendorf 2018-10-04 01:02:58 -04:00 committed by GitHub
parent 96b2ae6654
commit 870a93c37b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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