From 0bcbb0d4d48162195382d35f3cf63a2fdee46374 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 9 Feb 2007 22:43:10 +0000 Subject: [PATCH] Fix the roundtripping function. --- Lib/test/test_tokenize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_tokenize.py b/Lib/test/test_tokenize.py index 138ed740ff..d6c37775f0 100644 --- a/Lib/test/test_tokenize.py +++ b/Lib/test/test_tokenize.py @@ -123,7 +123,7 @@ def dump_tokens(s): def roundtrip(s): f = StringIO(s) source = untokenize(generate_tokens(f.readline)) - print(source, end=' ') + print(source, end="") # This is an example from the docs, set up as a doctest. def decistmt(s): -- 2.50.1