projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9f4c70
)
Py3 test fix
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 10 Oct 2009 10:13:26 +0000
(12:13 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 10 Oct 2009 10:13:26 +0000
(12:13 +0200)
tests/run/autotestdict.pyx
patch
|
blob
|
history
diff --git
a/tests/run/autotestdict.pyx
b/tests/run/autotestdict.pyx
index 32b982f516bcade361a111d1c5c74aff3c788101..32e90b51fc1703cc9315eadcd791157974ce9621 100644
(file)
--- a/
tests/run/autotestdict.pyx
+++ b/
tests/run/autotestdict.pyx
@@
-8,10
+8,10
@@
which makes the test flow a bit untraditional. Both
module test and individual tests are run; finally,
all_tests_run() is executed which does final validation.
->>> items =
__test__.items(
)
+>>> items =
list(__test__.items()
)
>>> items.sort()
>>> for key, value in items:
-... print
key, ';', value
+... print
('%s ; %s' % (key, value))
MyCdefClass.method (line 75) ; >>> add_log("cdef class method")
MyClass.method (line 65) ; >>> add_log("class method")
doc_without_test (line 47) ; Some docs