projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0d37d2
)
Py3 fix
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 13 Mar 2010 10:02:11 +0000
(11:02 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 13 Mar 2010 10:02:11 +0000
(11:02 +0100)
Cython/Tests/xmlrunner.py
patch
|
blob
|
history
diff --git
a/Cython/Tests/xmlrunner.py
b/Cython/Tests/xmlrunner.py
index cd9e37f70384075ffb35759984cdd02cf03363aa..b7cdaf55785353f79b366820dc21a6ff903a34d2 100644
(file)
--- a/
Cython/Tests/xmlrunner.py
+++ b/
Cython/Tests/xmlrunner.py
@@
-268,7
+268,7
@@
class _XMLTestResult(_TextTestResult):
xml_content = doc.toprettyxml(indent='\t')
if type(test_runner.output) is str:
- report_file =
file
('%s%sTEST-%s.xml' % \
+ report_file =
open
('%s%sTEST-%s.xml' % \
(test_runner.output, os.sep, suite), 'w')
try:
report_file.write(xml_content)