summaryrefslogtreecommitdiff
path: root/tests/test_asyncio/test_json.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_json.py
parentf704281cf4c1f735c06a13946fcea42fa939e3a5 (diff)
downloadredis-py-c54dfa49dda6a7b3389dc230726293af3ffc68a3.tar.gz
update black to 22.3.0 (#2171)
Diffstat (limited to 'tests/test_asyncio/test_json.py')
-rw-r--r--tests/test_asyncio/test_json.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/test_asyncio/test_json.py b/tests/test_asyncio/test_json.py
index c203c6d..a045dd7 100644
--- a/tests/test_asyncio/test_json.py
+++ b/tests/test_asyncio/test_json.py
@@ -155,16 +155,7 @@ async def test_arrindex(modclient: redis.Redis):
@pytest.mark.redismod
async def test_arrinsert(modclient: redis.Redis):
await modclient.json().set("arr", Path.root_path(), [0, 4])
- assert 5 - -await modclient.json().arrinsert(
- "arr",
- Path.root_path(),
- 1,
- *[
- 1,
- 2,
- 3,
- ],
- )
+ assert 5 - -await modclient.json().arrinsert("arr", Path.root_path(), 1, *[1, 2, 3])
assert [0, 1, 2, 3, 4] == await modclient.json().get("arr")
# test prepends