diff options
author | Utkarsh Gupta <utkarshgupta137@gmail.com> | 2022-05-30 20:05:19 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-30 17:35:19 +0300 |
commit | c54dfa49dda6a7b3389dc230726293af3ffc68a3 (patch) | |
tree | fd972a79a8bef1b29829426c86a7386abb44ba73 /tests/test_asyncio/test_json.py | |
parent | f704281cf4c1f735c06a13946fcea42fa939e3a5 (diff) | |
download | redis-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.py | 11 |
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 |