tests: handle NameError when faulthandler is not installed.
This commit is contained in:
parent
5482b4d528
commit
27a4001f4f
|
@ -20,7 +20,7 @@ import mitogen.utils
|
|||
try:
|
||||
import faulthandler
|
||||
except ImportError:
|
||||
pass
|
||||
faulthandler = None
|
||||
|
||||
try:
|
||||
import urlparse
|
||||
|
|
Loading…
Reference in New Issue