diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2017-01-28 11:09:42 -0800 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2017-01-28 11:09:42 -0800 |
commit | 610ea96a05e54b900609e03f796b4bfd43b20239 (patch) | |
tree | 6d307d48d74a766ec2866b45e3152cabb88587df | |
parent | 3f4ac6e685b122f49b516db3f59c1edc988e6b49 (diff) | |
download | redis-py-610ea96a05e54b900609e03f796b4bfd43b20239.tar.gz |
Fix warning during test
Fixes warning output:
DeprecationWarning: "charset" is deprecated. Use "encoding" instead
-rw-r--r-- | tests/test_encoding.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_encoding.py b/tests/test_encoding.py index f0c67be..8b5bf5a 100644 --- a/tests/test_encoding.py +++ b/tests/test_encoding.py @@ -34,7 +34,7 @@ class TestEncoding(object): class TestCommandsAndTokensArentEncoded(object): @pytest.fixture() def r(self, request): - return _redis_client(request=request, charset='utf-16') + return _redis_client(request=request, encoding='utf-16') def test_basic_command(self, r): r.set('hello', 'world') |