File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -272,19 +272,19 @@ async def test_repr_correctly_represents_connection_object(sentinel):
272
272
connection = await pool .get_connection ("PING" )
273
273
274
274
assert (
275
- str (connection )
276
- == "<redis.asyncio.sentinel.SentinelManagedConnection,host=127.0.0.1,port=6379)>" # noqa: E501
275
+ str (connection )
276
+ == "<redis.asyncio.sentinel.SentinelManagedConnection,host=127.0.0.1,port=6379)>" # noqa: E501
277
277
)
278
278
assert connection .connection_pool == pool
279
279
await pool .release (connection )
280
280
281
281
del pool
282
282
283
283
assert (
284
- str (connection )
285
- == "<redis.asyncio.sentinel.SentinelManagedConnection,host=127.0.0.1,port=6379)>" # noqa: E501
284
+ str (connection )
285
+ == "<redis.asyncio.sentinel.SentinelManagedConnection,host=127.0.0.1,port=6379)>" # noqa: E501
286
286
)
287
287
with pytest .raises (
288
- ReferenceError , match = "weakly-referenced object no longer exists"
288
+ ReferenceError , match = "weakly-referenced object no longer exists"
289
289
):
290
290
assert connection .connection_pool
You can’t perform that action at this time.
0 commit comments