Skip to content

Commit 4b91427

Browse files
committed
filter warning on the thread test
1 parent f69dc29 commit 4b91427

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/tests_async/test_backend.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -710,6 +710,7 @@ async def test_lock(self, cache: AsyncValkeyCache):
710710
await lock.release()
711711
assert not await cache.ahas_key("foobar")
712712

713+
@pytest.mark.filterwarnings("ignore")
713714
async def test_lock_released_by_thread(self, cache: AsyncValkeyCache):
714715
lock = await cache.lock("foobar", thread_local=False)
715716
await lock.acquire(blocking=True)

0 commit comments

Comments
 (0)