tests: handle NameError when faulthandler is not installed.

This commit is contained in:
David Wilson 2018-11-04 19:49:17 +00:00
parent 5482b4d528
commit 27a4001f4f
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ import mitogen.utils
try:
import faulthandler
except ImportError:
pass
faulthandler = None
try:
import urlparse