Skip to content

Commit d85dd5b

Browse files
committed
last nocov
Signed-off-by: Aleksei Stepanov <penguinolog@gmail.com>
1 parent 385ace4 commit d85dd5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exec_helpers/exec_result.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,9 +509,9 @@ def __deserialize(self, fmt: str) -> typing.Any:
509509
return json.loads(self.stdout_str, encoding="utf-8")
510510
if fmt == "yaml":
511511
if yaml is not None:
512-
if yaml.__with_libyaml__:
512+
if yaml.__with_libyaml__: # pragma: no cover
513513
return yaml.load(self.stdout_str, Loader=yaml.CSafeLoader) # nosec # Safe
514-
return yaml.safe_load(self.stdout_str)
514+
return yaml.safe_load(self.stdout_str) # pragma: no cover
515515
return ruamel_yaml.YAML(typ="safe").load(self.stdout_str) # nosec # Safe
516516
if fmt == "xml":
517517
return defusedxml.ElementTree.fromstring(b"".join(self.stdout))

0 commit comments

Comments
 (0)