projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81c90b1
)
Py3 test fix
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 13 Mar 2010 15:14:00 +0000
(16:14 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 13 Mar 2010 15:14:00 +0000
(16:14 +0100)
tests/run/extpropertyref.pyx
patch
|
blob
|
history
diff --git
a/tests/run/extpropertyref.pyx
b/tests/run/extpropertyref.pyx
index f2f73af451922ab2628900c908ba0b27c45520be..c015454da692a9f83a75279c99ba7a69616396ca 100644
(file)
--- a/
tests/run/extpropertyref.pyx
+++ b/
tests/run/extpropertyref.pyx
@@
-12,8
+12,14
@@
def tomato():
"""
>>> tomato()
42
- >>> sorted(__test__.keys())
- [u'Spam.eggs.__get__ (line 5)', u'tomato (line 11)']
+
+ >>> lines = __test__.keys()
+ >>> len(lines)
+ 2
+ >>> 'Spam.eggs.__get__ (line 5)' in lines
+ True
+ >>> 'tomato (line 11)' in lines
+ True
"""
cdef Spam spam
cdef object lettuce