From 27a4001f4f5b5e682ac103ce6069515bd6a4125d Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sun, 4 Nov 2018 19:49:17 +0000 Subject: [PATCH] tests: handle NameError when faulthandler is not installed. --- tests/testlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testlib.py b/tests/testlib.py index 2f3c2b2e..1406bf2d 100644 --- a/tests/testlib.py +++ b/tests/testlib.py @@ -20,7 +20,7 @@ import mitogen.utils try: import faulthandler except ImportError: - pass + faulthandler = None try: import urlparse