Commit af6425f6 authored by Stefan Behnel's avatar Stefan Behnel

Py3 test fix

parent e9f4c708
...@@ -8,10 +8,10 @@ which makes the test flow a bit untraditional. Both ...@@ -8,10 +8,10 @@ which makes the test flow a bit untraditional. Both
module test and individual tests are run; finally, module test and individual tests are run; finally,
all_tests_run() is executed which does final validation. all_tests_run() is executed which does final validation.
>>> items = __test__.items() >>> items = list(__test__.items())
>>> items.sort() >>> items.sort()
>>> for key, value in items: >>> for key, value in items:
... print key, ';', value ... print('%s ; %s' % (key, value))
MyCdefClass.method (line 75) ; >>> add_log("cdef class method") MyCdefClass.method (line 75) ; >>> add_log("cdef class method")
MyClass.method (line 65) ; >>> add_log("class method") MyClass.method (line 65) ; >>> add_log("class method")
doc_without_test (line 47) ; Some docs doc_without_test (line 47) ; Some docs
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment