We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db43978 commit 47031f2Copy full SHA for 47031f2
tests/aignostics/utils/service_test.py
@@ -1,6 +1,5 @@
1
"""Tests for BaseService.get_service() and settings() methods."""
2
3
-import contextlib
4
import inspect
5
from typing import Any
6
@@ -76,8 +75,6 @@ def test_get_service_dependency_yields_instance(record_property) -> None:
76
75
gen = dep()
77
instance = next(gen)
78
assert isinstance(instance, _ConcreteService)
79
- with contextlib.suppress(StopIteration):
80
- next(gen)
81
82
83
@pytest.mark.unit
0 commit comments