Skip to content

Commit

Permalink
Merge pull request #828 from jdufresne/warnings
Browse files Browse the repository at this point in the history
Fix warning during test
  • Loading branch information
andymccurdy committed Jan 29, 2017
2 parents 497629a + 610ea96 commit 6e21b78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_encoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_object_value(self, r):
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')

0 comments on commit 6e21b78

Please sign in to comment.