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
commit ff90c9e237
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)