X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Flibc-wrapper%2Ftest_libc-wrapper.py;fp=tests%2Fregression%2Fust%2Flibc-wrapper%2Ftest_libc-wrapper.py;h=fd27a370f5231751577c56505cfe675ae69ade33;hb=9de0e15cc3a0a24f05aefc347e602c5c3f40b728;hp=8650f8632c7e708dd133912f2045a48562e89a5f;hpb=745a10bf7cc26933ca2e5bdc487322e00f83725f;p=lttng-tools.git diff --git a/tests/regression/ust/libc-wrapper/test_libc-wrapper.py b/tests/regression/ust/libc-wrapper/test_libc-wrapper.py index 8650f8632..fd27a370f 100644 --- a/tests/regression/ust/libc-wrapper/test_libc-wrapper.py +++ b/tests/regression/ust/libc-wrapper/test_libc-wrapper.py @@ -46,7 +46,7 @@ malloc_process = subprocess.Popen(test_path + "prog", stdout=subprocess.PIPE, st if sys.version_info >= (3, 3): try: malloc_process.wait(5) - except TimeoutExpired: + except subprocess.TimeoutExpired: malloc_process.kill() bail("Failed to run libustinstr-malloc test application.", session_info) else: