Merge pull request #3116 from brianmaissy/pexpect_test_hangs_on_mac
use flush in order to avoid hanging on mac
This commit is contained in:
commit
ff90c9e237
|
@ -0,0 +1 @@
|
|||
Fixed hanging pexpect test on MacOS by using flush() instead of wait().
|
|
@ -402,5 +402,4 @@ class TestPDB(object):
|
|||
child = testdir.spawn_pytest("--pdbcls=custom_pdb:CustomPdb %s" % str(p1))
|
||||
|
||||
child.expect('custom set_trace>')
|
||||
if child.isalive():
|
||||
child.wait()
|
||||
self.flush(child)
|
||||
|
|
Loading…
Reference in New Issue