summaryrefslogtreecommitdiffstats
path: root/python/tests/XmlTestRunner.py
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-08-29 09:31:54 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-08-29 09:31:54 +0000
commit553076b8ff95689b03a39d2215b13f8c3359eafd (patch)
tree1d02d5e09a8b6921df64d891bb30a7c250f06ebe /python/tests/XmlTestRunner.py
parent95779ca72a20fcd52f386e029ad6b1a7b2cc2ad7 (diff)
downloadlasso-553076b8ff95689b03a39d2215b13f8c3359eafd.tar.gz
lasso-553076b8ff95689b03a39d2215b13f8c3359eafd.tar.xz
lasso-553076b8ff95689b03a39d2215b13f8c3359eafd.zip
some tests do not have descriptions
Diffstat (limited to 'python/tests/XmlTestRunner.py')
-rw-r--r--python/tests/XmlTestRunner.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/tests/XmlTestRunner.py b/python/tests/XmlTestRunner.py
index fe12e3fc..1d87bc98 100644
--- a/python/tests/XmlTestRunner.py
+++ b/python/tests/XmlTestRunner.py
@@ -26,6 +26,8 @@ import time
import sys
def xml(text):
+ if not text:
+ return ""
return text.replace('&', '&amp;').replace('<', '&lt;').replace('>', '&gt;')
class XmlTestResult(unittest.TestResult):