Skip to content

Commit b999ec1

Browse files
committed
Filter warning in test_wrapper
1 parent b817895 commit b999ec1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_store/test_wrapper.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ def test_is_open_setter_raises(self, store: WrapperStore) -> None:
7272
store._is_open = True
7373

7474

75+
# TODO: work out where warning is coming from and fix
76+
@pytest.mark.filterwarnings(
77+
"ignore:coroutine 'ClientCreatorContext.__aexit__' was never awaited:RuntimeWarning"
78+
)
7579
@pytest.mark.parametrize("store", ["local", "memory", "zip"], indirect=True)
7680
async def test_wrapped_set(store: Store, capsys: pytest.CaptureFixture[str]) -> None:
7781
# define a class that prints when it sets

0 commit comments

Comments
 (0)