summaryrefslogtreecommitdiffstatshomepage
path: root/tools/tinytest-codegen.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tinytest-codegen.py')
-rwxr-xr-xtools/tinytest-codegen.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/tinytest-codegen.py b/tools/tinytest-codegen.py
index 7580522ee6..424f70a9fb 100755
--- a/tools/tinytest-codegen.py
+++ b/tools/tinytest-codegen.py
@@ -33,8 +33,10 @@ test_function = (
"void {name}(void* data) {{\n"
" static const char pystr[] = {script};\n"
" static const char exp[] = {output};\n"
+ ' printf("\\n");\n'
" upytest_set_expected_output(exp, sizeof(exp) - 1);\n"
" upytest_execute_test(pystr);\n"
+ ' printf("result: ");\n'
"}}"
)