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:
Bruno Oliveira
2018-01-23 19:32:19 -02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

1
changelog/2022.bugfix Normal file
View File

@@ -0,0 +1 @@
Fixed hanging pexpect test on MacOS by using flush() instead of wait().

View File

@@ -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)