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_encoding.py | |
parent | f704281cf4c1f735c06a13946fcea42fa939e3a5 (diff) | |
download | redis-py-c54dfa49dda6a7b3389dc230726293af3ffc68a3.tar.gz |
update black to 22.3.0 (#2171)
Diffstat (limited to 'tests/test_asyncio/test_encoding.py')
-rw-r--r-- | tests/test_asyncio/test_encoding.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/test_asyncio/test_encoding.py b/tests/test_asyncio/test_encoding.py index da29837..133ea37 100644 --- a/tests/test_asyncio/test_encoding.py +++ b/tests/test_asyncio/test_encoding.py @@ -68,18 +68,12 @@ class TestEncoding: @pytest.mark.onlynoncluster class TestEncodingErrors: async def test_ignore(self, create_redis): - r = await create_redis( - decode_responses=True, - encoding_errors="ignore", - ) + r = await create_redis(decode_responses=True, encoding_errors="ignore") await r.set("a", b"foo\xff") assert await r.get("a") == "foo" async def test_replace(self, create_redis): - r = await create_redis( - decode_responses=True, - encoding_errors="replace", - ) + r = await create_redis(decode_responses=True, encoding_errors="replace") await r.set("a", b"foo\xff") assert await r.get("a") == "foo\ufffd" |