diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/run-multitests.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/run-multitests.py b/tests/run-multitests.py index 66ca79967..b4afc1e52 100755 --- a/tests/run-multitests.py +++ b/tests/run-multitests.py @@ -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") |