projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83656fa
)
safety fix
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 5 Mar 2010 14:47:39 +0000
(15:47 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 5 Mar 2010 14:47:39 +0000
(15:47 +0100)
Cython/Tests/xmlrunner.py
patch
|
blob
|
history
diff --git
a/Cython/Tests/xmlrunner.py
b/Cython/Tests/xmlrunner.py
index f52fb6994f39a7486f4503a31907205512f6dac0..3dfedc13c78c6852a5e2ef8ec572cb4d800bb853 100644
(file)
--- a/
Cython/Tests/xmlrunner.py
+++ b/
Cython/Tests/xmlrunner.py
@@
-208,7
+208,7
@@
class _XMLTestResult(_TextTestResult):
xml_testsuite.appendChild(testcase)
testcase.setAttribute('classname', suite_name)
- testcase.setAttribute('name', test_result.test_method.shortDescription())
+ testcase.setAttribute('name', test_result.test_method.shortDescription()
or test_result.test_method._testMethodName
)
testcase.setAttribute('time', '%.3f' % test_result.get_elapsed_time())
if (test_result.outcome != _TestInfo.SUCCESS):