Skip to content

Commit e99705e

Browse files
committed
fix
1 parent f8a32fd commit e99705e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_concurrent_processing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def is_healthy(self) -> bool:
5656

5757

5858
@pytest.fixture(autouse=True)
59-
def reset_singleton() -> typing.Generator[None]:
59+
def reset_singleton() -> typing.Iterator[None]:
6060
KafkaConcurrentHandler._instance = None
6161
KafkaConcurrentHandler._initialized = False
6262
yield

tests/test_middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
@pytest.fixture(autouse=True)
20-
def reset_singleton() -> typing.Generator[None]:
20+
def reset_singleton() -> typing.Iterator[None]:
2121
KafkaConcurrentHandler._instance = None
2222
KafkaConcurrentHandler._initialized = False
2323
yield

0 commit comments

Comments
 (0)