Commit da8e47da authored by Damien George's avatar Damien George

tests/run-multitests.py: Allow to work without sys.stdout on target.

Signed-off-by: default avatarDamien George <damien@micropython.org>
parent d00523ba
......@@ -32,8 +32,10 @@ import sys
class multitest:
@staticmethod
def flush():
if hasattr(sys.stdout, "flush"):
try:
sys.stdout.flush()
except AttributeError:
pass
@staticmethod
def skip():
print("SKIP")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment