projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01321f7
)
fix doctest dependency on dict order
author
Stefan Behnel
<stefan_ml@behnel.de>
Sun, 27 Jan 2013 14:12:02 +0000
(15:12 +0100)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Sun, 27 Jan 2013 14:12:02 +0000
(15:12 +0100)
tests/run/control_flow_stack_allocation.pyx
patch
|
blob
|
history
diff --git
a/tests/run/control_flow_stack_allocation.pyx
b/tests/run/control_flow_stack_allocation.pyx
index
3dcfee5
..
b1756f1
100644
(file)
--- a/
tests/run/control_flow_stack_allocation.pyx
+++ b/
tests/run/control_flow_stack_allocation.pyx
@@
-21,8
+21,11
@@
cdef stack_alloc_test(int[2] array_arg, S struct_arg):
def test():
"""
- >>> test()
- ([0, 1], {'y': 2.0, 'x': 1})
+ >>> a,d = test()
+ >>> a
+ [0, 1]
+ >>> sorted(d.items())
+ [('x', 1), ('y', 2.0)]
"""
cdef int[2] array_var
cdef S struct_var