summaryrefslogtreecommitdiff
path: root/tests/test_asyncio/test_commands.py
diff options
context:
space:
mode:
authorUtkarsh Gupta <utkarshgupta137@gmail.com>2022-05-30 20:05:19 +0530
committerGitHub <noreply@github.com>2022-05-30 17:35:19 +0300
commitc54dfa49dda6a7b3389dc230726293af3ffc68a3 (patch)
treefd972a79a8bef1b29829426c86a7386abb44ba73 /tests/test_asyncio/test_commands.py
parentf704281cf4c1f735c06a13946fcea42fa939e3a5 (diff)
downloadredis-py-c54dfa49dda6a7b3389dc230726293af3ffc68a3.tar.gz
update black to 22.3.0 (#2171)
Diffstat (limited to 'tests/test_asyncio/test_commands.py')
-rw-r--r--tests/test_asyncio/test_commands.py19
1 files changed, 8 insertions, 11 deletions
diff --git a/tests/test_asyncio/test_commands.py b/tests/test_asyncio/test_commands.py
index 650ce27..6fa702d 100644
--- a/tests/test_asyncio/test_commands.py
+++ b/tests/test_asyncio/test_commands.py
@@ -2534,17 +2534,14 @@ class TestRedisCommands:
# reclaim the message as consumer1, but use the justid argument
# which only returns message ids
- assert (
- await r.xclaim(
- stream,
- group,
- consumer1,
- min_idle_time=0,
- message_ids=(message_id,),
- justid=True,
- )
- == [message_id]
- )
+ assert await r.xclaim(
+ stream,
+ group,
+ consumer1,
+ min_idle_time=0,
+ message_ids=(message_id,),
+ justid=True,
+ ) == [message_id]
@skip_if_server_version_lt("5.0.0")
async def test_xclaim_trimmed(self, r: redis.Redis):