Author: Dusty Phillips <[email protected]>
Branch: py3k
Changeset: r53500:f56cd86ebad1
Date: 2012-03-13 15:21 -0700
http://bitbucket.org/pypy/pypy/changeset/f56cd86ebad1/
Log: py3k syntax
diff --git a/pypy/module/_continuation/test/test_stacklet.py
b/pypy/module/_continuation/test/test_stacklet.py
--- a/pypy/module/_continuation/test/test_stacklet.py
+++ b/pypy/module/_continuation/test/test_stacklet.py
@@ -464,12 +464,12 @@
from _continuation import continulet
#
def f1(c1):
- print 'in f1'
+ print('in f1')
return 'm'
#
def f2(c2):
res = c2.switch('z')
- print 'got there!'
+ print('got there!')
assert res == 'a'
return None
#
@@ -479,9 +479,9 @@
assert res == 'z'
assert c1.is_pending()
assert c2.is_pending()
- print 'calling!'
+ print('calling!')
res = c1.switch('a', to=c2)
- print 'back'
+ print('back')
assert res == 'm'
def test_switch2_immediately_away_corner_case(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit