From 3fb65de645bf4dd1beb8e893bdaa2c4766bbd1fa Mon Sep 17 00:00:00 2001 From: David Gilman Date: Wed, 14 Dec 2022 04:18:41 -0500 Subject: Combine auto-concatenated strings (#2482) --- tests/test_asyncio/test_pipeline.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/test_asyncio/test_pipeline.py') diff --git a/tests/test_asyncio/test_pipeline.py b/tests/test_asyncio/test_pipeline.py index d613f49..3df57eb 100644 --- a/tests/test_asyncio/test_pipeline.py +++ b/tests/test_asyncio/test_pipeline.py @@ -124,7 +124,7 @@ class TestPipeline: with pytest.raises(redis.ResponseError) as ex: await pipe.execute() assert str(ex.value).startswith( - "Command # 3 (LPUSH c 3) of " "pipeline caused error: " + "Command # 3 (LPUSH c 3) of pipeline caused error: " ) # make sure the pipe was restored to a working state @@ -169,7 +169,7 @@ class TestPipeline: await pipe.execute() assert str(ex.value).startswith( - "Command # 2 (ZREM b) of " "pipeline caused error: " + "Command # 2 (ZREM b) of pipeline caused error: " ) # make sure the pipe was restored to a working state @@ -186,7 +186,7 @@ class TestPipeline: await pipe.execute() assert str(ex.value).startswith( - "Command # 2 (ZREM b) of " "pipeline caused error: " + "Command # 2 (ZREM b) of pipeline caused error: " ) # make sure the pipe was restored to a working state @@ -333,7 +333,7 @@ class TestPipeline: await pipe.execute() assert str(ex.value).startswith( - "Command # 1 (LLEN a) of " "pipeline caused error: " + "Command # 1 (LLEN a) of pipeline caused error: " ) assert await r.get("a") == b"1" -- cgit v1.2.1