From 91249e0d86723258cf346b518af80214785fd360 Mon Sep 17 00:00:00 2001 From: Glyphack Date: Thu, 20 Jun 2024 15:45:38 +0200 Subject: [PATCH] ci: set no cover for test function --- testing/test_compat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_compat.py b/testing/test_compat.py index fb820b165..5af45b4ca 100644 --- a/testing/test_compat.py +++ b/testing/test_compat.py @@ -80,7 +80,7 @@ def test_get_real_func() -> None: # obtain the function up until the point a function was wrapped by pytest itself @pytest.fixture def wrapped_func3(): - pass + pass # pragma: no cover wrapped_func4 = decorator(wrapped_func3) assert get_real_func(wrapped_func4) is wrapped_func3._get_wrapped_function()