Fix: TimeoutExpired in Python tests not defined globally
[lttng-tools.git] / tests / regression / ust / fork / test_fork.py
index 62faf71f1ad121ded11c65e321f269a2a59492a5..ec444aef71143128c72d91550be1cd76a3739e02 100644 (file)
@@ -47,7 +47,7 @@ fork_process = subprocess.Popen([test_path + "fork", test_path + "fork2"], stdou
 if sys.version_info >= (3, 3):
     try:
         fork_process.wait(5)
-    except TimeoutExpired:
+    except subprocess.TimeoutExpired:
         fork_process.kill()
         bail("Failed to run fork test application (time out)", session_info)
 else:
This page took 0.023025 seconds and 4 git commands to generate.