Skip to content

Commit 1187aa8

Browse files
committed
test: add lax coverage pragma to AttributeError catch in redis_client fixture
1 parent aa5f397 commit 1187aa8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/server/contrib/test_redis_event_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async def redis_client():
3838
finally:
3939
try:
4040
await client.aclose() # pragma: lax no cover
41-
except AttributeError:
41+
except AttributeError: # pragma: lax no cover
4242
await client.close() # pragma: lax no cover
4343

4444

0 commit comments

Comments
 (0)