summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2017-01-28 11:09:42 -0800
committerJon Dufresne <jon.dufresne@gmail.com>2017-01-28 11:09:42 -0800
commit610ea96a05e54b900609e03f796b4bfd43b20239 (patch)
tree6d307d48d74a766ec2866b45e3152cabb88587df
parent3f4ac6e685b122f49b516db3f59c1edc988e6b49 (diff)
downloadredis-py-610ea96a05e54b900609e03f796b4bfd43b20239.tar.gz
Fix warning during test
Fixes warning output: DeprecationWarning: "charset" is deprecated. Use "encoding" instead
-rw-r--r--tests/test_encoding.py2
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')