From 916a20fccd20140befb15ec6060153bbb1bb9eed Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Mon, 6 Nov 2023 12:07:47 -0800 Subject: [PATCH] Ignore coverage of test code that does not run --- .../collections_masked/ansible_collections/testns/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/units/utils/collection_loader/fixtures/collections_masked/ansible_collections/testns/__init__.py b/test/units/utils/collection_loader/fixtures/collections_masked/ansible_collections/testns/__init__.py index efcfba7b39e..c197d42ed36 100644 --- a/test/units/utils/collection_loader/fixtures/collections_masked/ansible_collections/testns/__init__.py +++ b/test/units/utils/collection_loader/fixtures/collections_masked/ansible_collections/testns/__init__.py @@ -1,4 +1,4 @@ -from __future__ import annotations +from __future__ import annotations # pragma: nocover -raise Exception('this code should never execute') +raise Exception('this code should never execute') # pragma: nocover