[ADD] SpawnPipe is the default spawn class

This commit is contained in:
Benedek Racz 2020-04-08 14:21:13 +02:00
parent 9cdc9a280b
commit 4687573f3b

View File

@ -6,7 +6,7 @@ import pkg_resources
try:
spawn_class_name = os.environ['WEXPECT_SPAWN_CLASS']
except KeyError:
spawn_class_name = 'legacy_wexpect'
spawn_class_name = 'SpawnPipe'
if spawn_class_name == 'legacy_wexpect':
from .legacy_wexpect import ExceptionPexpect