From 0af866c9ba31bd784b92cb1a446796079e45e4a7 Mon Sep 17 00:00:00 2001 From: Malcolm Parsons Date: Thu, 22 Nov 2018 12:28:01 +0000 Subject: [PATCH] test_htmlreport: cppcheck no longer supports XML file version 1 (#1487) --- htmlreport/test_htmlreport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htmlreport/test_htmlreport.py b/htmlreport/test_htmlreport.py index 0c18cd0bc..6553f625e 100755 --- a/htmlreport/test_htmlreport.py +++ b/htmlreport/test_htmlreport.py @@ -24,7 +24,7 @@ HTML_REPORT_BIN = os.path.join(os.path.abspath(os.path.dirname(__file__)), class TestHTMLReport(unittest.TestCase): def testReportError(self): - for xml_version in ['1', '2']: + for xml_version in ['2']: self.checkReportError(xml_version) def checkReportError(self, xml_version): @@ -47,7 +47,7 @@ class TestHTMLReport(unittest.TestCase): self.assertIn('Memory leak:', detail_contents) def testReportNoError(self): - for xml_version in ['1', '2']: + for xml_version in ['2']: self.checkReportNoError(xml_version) def checkReportNoError(self, xml_version):