Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d5648dc

Browse files
committed
use \0 instead of 'wake up' to finish output
since we are now seeing the captured output, we don't need `wake up` at the end of all of our test outputs.
1 parent 564bd97 commit d5648dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

IPython/testing/iptest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ def halt(self):
388388
return
389389

390390
self.stop.set()
391-
os.write(self.writefd, b'wake up') # Ensure we're not locked in a read()
391+
os.write(self.writefd, b'\0') # Ensure we're not locked in a read()
392392
self.join()
393393

394394
class SubprocessStreamCapturePlugin(Plugin):

0 commit comments

Comments
 (0)