Skip to content

Commit 33916e9

Browse files
committed
Add #pragma: no cover
1 parent 18ba457 commit 33916e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugwise/helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ def _findall(xml_in: etree, locator: str) -> list[etree]:
9090
xml_list: list[etree] = xml_in.findall(locator)
9191
return xml_list
9292

93-
LOGGER.warning(
93+
LOGGER.warning( # pragma: no cover
9494
"XML data unexpectedly not present, processing stopped. Please retry."
9595
)
96-
raise XMLDataMissingError
96+
raise XMLDataMissingError # pragma: no cover
9797

9898

9999
def update_helper(

0 commit comments

Comments
 (0)