Skip to content

Commit

Permalink
Filter two more warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed Feb 18, 2025
1 parent 3d1da68 commit 53aaf32
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_store/test_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ async def test_deterministic_size(
np.testing.assert_array_equal(a[3:], 0)


# TODO: fix this warning
@pytest.mark.filterwarnings("ignore:Unclosed client session:ResourceWarning")
@gpu_test
class TestGpuMemoryStore(StoreTests[GpuMemoryStore, gpu.Buffer]):
store_cls = GpuMemoryStore
Expand Down
4 changes: 4 additions & 0 deletions tests/test_store/test_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
from zarr.core.buffer.core import BufferPrototype


# TODO: fix this warning
@pytest.mark.filterwarnings(
"ignore:coroutine 'ClientCreatorContext.__aexit__' was never awaited:RuntimeWarning"
)
class TestWrapperStore(StoreTests[WrapperStore, Buffer]):
store_cls = WrapperStore
buffer_cls = Buffer
Expand Down

0 comments on commit 53aaf32

Please sign in to comment.