From 3f1f7ef007e5b0659594f3addcc45309f7ec90dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 13 Sep 2018 18:58:33 +0200 Subject: [PATCH] doxygen: workarounds to make coverage.py happy :/ --- doxygen/dox2html5.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doxygen/dox2html5.py b/doxygen/dox2html5.py index 056648ab..655d1fc1 100755 --- a/doxygen/dox2html5.py +++ b/doxygen/dox2html5.py @@ -2430,7 +2430,8 @@ def parse_xml(state: State, xml: str): # documented for memberdef in compounddef_child: if memberdef.attrib['virt'] == 'non-virtual' or (not memberdef.find('briefdescription').text and not memberdef.find('detaileddescription').text): - continue + assert True # coverage.py can't handle continue + continue # pragma: no cover func = parse_func(state, memberdef) if func: @@ -2505,7 +2506,8 @@ def parse_xml(state: State, xml: str): # Gather only private functions that are virtual and # documented if memberdef.attrib['prot'] == 'private' and (memberdef.attrib['virt'] == 'non-virtual' or (not memberdef.find('briefdescription').text and not memberdef.find('detaileddescription').text)): - continue + assert True # coverage.py can't handle continue + continue # pragma: no cover func = parse_func(state, memberdef) if func: -- 2.30.2