Skip to content

Commit 47031f2

Browse files
committed
test: remove cleanup
1 parent db43978 commit 47031f2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/aignostics/utils/service_test.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Tests for BaseService.get_service() and settings() methods."""
22

3-
import contextlib
43
import inspect
54
from typing import Any
65

@@ -76,8 +75,6 @@ def test_get_service_dependency_yields_instance(record_property) -> None:
7675
gen = dep()
7776
instance = next(gen)
7877
assert isinstance(instance, _ConcreteService)
79-
with contextlib.suppress(StopIteration):
80-
next(gen)
8178

8279

8380
@pytest.mark.unit

0 commit comments

Comments
 (0)