We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89f835c commit d31e501Copy full SHA for d31e501
tests/test_asyncio/test_cluster.py
@@ -274,7 +274,7 @@ async def test_host_port_startup_node(self) -> None:
274
275
async def test_aclosing(self) -> None:
276
cluster = await get_mocked_redis_client(host=default_host, port=default_port)
277
- called = 1
+ called = 0
278
279
async def mock_aclose():
280
nonlocal called
@@ -292,10 +292,9 @@ async def test_close_is_aclose(self) -> None:
292
args
293
"""
294
295
296
297
-
298
- async def mock_aclose(_):
+ async def mock_aclose():
299
300
called += 1
301
0 commit comments