diff options
Diffstat (limited to 'tests/test_pipeline.py')
-rw-r--r-- | tests/test_pipeline.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_pipeline.py b/tests/test_pipeline.py index a759bc9..a87ed71 100644 --- a/tests/test_pipeline.py +++ b/tests/test_pipeline.py @@ -345,7 +345,7 @@ class TestPipeline: with pytest.raises(redis.ResponseError) as ex: pipe.execute() - expected = 'Command # 1 (LLEN %s) of pipeline caused error: ' % key + expected = f'Command # 1 (LLEN {key}) of pipeline caused error: ' assert str(ex.value).startswith(expected) assert r[key] == b'1' |