Skip to content

Commit 73e403e

Browse files
committed
Flush stdout
1 parent 9c7267a commit 73e403e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyfrc/test_support/pytest_dist_plugin.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ def _run_test(item_nodeid, config_args, robot_class, robot_file, verbose, pipe):
6262
plugins=[plugin],
6363
)
6464

65+
# ensure output is printed out
66+
# .. TODO could implement pytest_runtestloop and send the
67+
# test result back to the parent and print it there?
68+
sys.stdout.flush()
69+
6570
# Don't let the process die, let the parent kill us to avoid
6671
# python interpreter badness
6772
pipe.send(ec)

0 commit comments

Comments
 (0)