diff options
author | David Robillard <d@drobilla.net> | 2023-04-04 06:35:51 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:07 -0500 |
commit | 7219a81ad6cff840eb604983b3752d4f2097532a (patch) | |
tree | 5c071ae9575f05a75f17a2d8280e9e9aed6440ac /test/serd_test_util | |
parent | 1c7a8efa90003d21e19b47bbad185390cea5963c (diff) | |
download | serd-7219a81ad6cff840eb604983b3752d4f2097532a.tar.gz serd-7219a81ad6cff840eb604983b3752d4f2097532a.tar.bz2 serd-7219a81ad6cff840eb604983b3752d4f2097532a.zip |
Add support for writing terse output with minimal newlines
Diffstat (limited to 'test/serd_test_util')
-rw-r--r-- | test/serd_test_util/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/serd_test_util/__init__.py b/test/serd_test_util/__init__.py index 8027462b..04876f98 100644 --- a/test/serd_test_util/__init__.py +++ b/test/serd_test_util/__init__.py @@ -60,7 +60,7 @@ def print_result_summary(results): failed, total = (results.n_failures, results.n_tests) if failed == 0: - sys.stdout.write("All {} tests passed\n".format(total)) + print("All {} tests passed".format(total)) else: error("{}/{} tests failed".format(failed, total)) |