summaryrefslogtreecommitdiff
path: root/tests/test_encoding.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_encoding.py')
-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')