Skip to content

Commit 1b99db9

Browse files
committed
sys.stdout.flush()
1 parent 7f86f09 commit 1b99db9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stubtest_wrapper.py

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ def maybe_monkey_patch() -> None:
2828
def main() -> int:
2929
maybe_monkey_patch()
3030

31+
# make sure the messages get out since we're working around a segfault here
32+
sys.stdout.flush()
3133
return mypy.stubtest.main()
3234

3335

0 commit comments

Comments
 (0)