Skip to content

Commit

Permalink
tests/run-multitests.py: Allow to work without sys.stdout on target.
Browse files Browse the repository at this point in the history
Signed-off-by: Damien George <damien@micropython.org>
  • Loading branch information
dpgeorge committed Jun 6, 2021
1 parent d00523b commit da8e47d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/run-multitests.py
Expand Up @@ -32,8 +32,10 @@
class multitest:
@staticmethod
def flush():
if hasattr(sys.stdout, "flush"):
try:
sys.stdout.flush()
except AttributeError:
pass
@staticmethod
def skip():
print("SKIP")
Expand Down

0 comments on commit da8e47d

Please sign in to comment.