projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d426273
)
renamed test functions to make the output more readable
author
Stefan Behnel
<scoder@users.berlios.de>
Tue, 9 Mar 2010 09:50:19 +0000
(10:50 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Tue, 9 Mar 2010 09:50:19 +0000
(10:50 +0100)
tests/run/print.pyx
patch
|
blob
|
history
diff --git
a/tests/run/print.pyx
b/tests/run/print.pyx
index f1b570a1bae15e6cb1f55bdf6d9fec938761b4b2..2b63cbcee4a66a702ba18a8f88cefa82397002c7 100644
(file)
--- a/
tests/run/print.pyx
+++ b/
tests/run/print.pyx
@@
-1,6
+1,6
@@
-def
f
(a, b):
+def
print_to_stdout
(a, b):
"""
- >>>
f
(1, 'test')
+ >>>
print_to_stdout
(1, 'test')
<BLANKLINE>
1
1 test
@@
-21,10
+21,10
@@
try:
except ImportError:
from io import StringIO
-def
s
(stream, a, b):
+def
print_to_stringio
(stream, a, b):
"""
>>> stream = StringIO()
- >>>
s
(stream, 1, 'test')
+ >>>
print_to_stringio
(stream, 1, 'test')
>>> print(stream.getvalue())
<BLANKLINE>
1