From 7219a81ad6cff840eb604983b3752d4f2097532a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 4 Apr 2023 06:35:51 -0400 Subject: Add support for writing terse output with minimal newlines --- test/serd_test_util/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/serd_test_util/__init__.py') 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)) -- cgit v1.2.1