projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
636286b
)
Py3 test case fix
author
Stefan Behnel
<scoder@users.berlios.de>
Tue, 30 Dec 2008 12:05:00 +0000
(13:05 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Tue, 30 Dec 2008 12:05:00 +0000
(13:05 +0100)
tests/run/inplace.pyx
patch
|
blob
|
history
diff --git
a/tests/run/inplace.pyx
b/tests/run/inplace.pyx
index 2d7c6a9c238403dfc45d130623e5b8084d619d6c..727c7ccb8c6e270f165b8e141108c88a8cd247db 100644
(file)
--- a/
tests/run/inplace.pyx
+++ b/
tests/run/inplace.pyx
@@
-92,15
+92,15
@@
def smoketest():
def side_effect(x):
- print "side effect", x
+ print
u
"side effect", x
return x
cdef int c_side_effect(int x):
- print "c side effect", x
+ print
u
"c side effect", x
return x
def test_side_effects():
- a =
range(5
)
+ a =
list(range(5)
)
a[side_effect(1)] += 10
a[c_side_effect(2)] += 100
cdef int i