ci: set no cover for test function
This commit is contained in:
parent
7a1b23d691
commit
91249e0d86
|
@ -80,7 +80,7 @@ def test_get_real_func() -> None:
|
||||||
# obtain the function up until the point a function was wrapped by pytest itself
|
# obtain the function up until the point a function was wrapped by pytest itself
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def wrapped_func3():
|
def wrapped_func3():
|
||||||
pass
|
pass # pragma: no cover
|
||||||
|
|
||||||
wrapped_func4 = decorator(wrapped_func3)
|
wrapped_func4 = decorator(wrapped_func3)
|
||||||
assert get_real_func(wrapped_func4) is wrapped_func3._get_wrapped_function()
|
assert get_real_func(wrapped_func4) is wrapped_func3._get_wrapped_function()
|
||||||
|
|
Loading…
Reference in New Issue