diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2019-01-12 17:11:33 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2019-01-12 17:11:33 +0100 |
commit | 21ae965c4a32707cf5fb50a8e80140e94584e751 (patch) | |
tree | 35018be37a04b0e0f4cc74571debfafe96448b7c | |
parent | 24c0216567fe4250da8550463de5167850f74aa7 (diff) | |
download | cython-21ae965c4a32707cf5fb50a8e80140e94584e751.tar.gz |
Convert CodeWriter tests to Py3 syntax.
-rw-r--r-- | Cython/Tests/TestCodeWriter.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Cython/Tests/TestCodeWriter.py b/Cython/Tests/TestCodeWriter.py index 42e457da2..2f9ee6179 100644 --- a/Cython/Tests/TestCodeWriter.py +++ b/Cython/Tests/TestCodeWriter.py @@ -19,9 +19,8 @@ class TestCodeWriter(CythonTest): def test_print(self): self.t(u""" - print x, y - print x + y ** 2 - print x, y, z, + print(x + y ** 2) + print(x, y, z) """) def test_if(self): @@ -65,9 +64,9 @@ class TestCodeWriter(CythonTest): def test_for_loop(self): self.t(u""" for x, y, z in f(g(h(34) * 2) + 23): - print x, y, z + print(x, y, z) else: - print 43 + print(43) """) def test_inplace_assignment(self): |