Commit 21ae965c authored by Stefan Behnel's avatar Stefan Behnel

Convert CodeWriter tests to Py3 syntax.

parent 24c02165
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment