From 9a65f4e01034682d14bb28de2d130c6a9e402814 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 28 Apr 2011 22:14:54 +0000 Subject: [PATCH] Fix Ndiff unit test failure code found by Daniel Miller. I guess this means the test was passing. --- ndiff/ndifftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ndiff/ndifftest.py b/ndiff/ndifftest.py index c6a08e60c..994e18ee9 100755 --- a/ndiff/ndifftest.py +++ b/ndiff/ndifftest.py @@ -643,7 +643,7 @@ class scan_diff_xml_test(unittest.TestCase): try: document = xml.dom.minidom.parseString(self.xml) except Exception, e: - fail(u"Parsing XML diff output caused the exception: %s" % str(e)) + self.fail(u"Parsing XML diff output caused the exception: %s" % str(e)) def scan_apply_diff(scan, diff): """Apply a scan diff to the given scan."""