Skip to content

Commit a307264

Browse files
committed
Flush stdout/stderr
1 parent 9842f6a commit a307264

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎tests/utils.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44

55
def _run_command(cmd, **kw):
6+
sys.stdout.flush()
7+
sys.stderr.flush()
8+
69
kw['shell'] = False
710
if hasattr(subprocess, 'run'):
811
proc = subprocess.run(cmd, **kw)

0 commit comments

Comments
 (0)