Skip to content

Commit

Permalink
pep8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thefab committed Feb 21, 2015
1 parent 19e1baf commit 8b32741
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
import six


BIG_VALUE = six.b("".join(["%i" % random.randint(0, 9) for x in range(0, 1000000)]))
BIG_VALUE = six.b("".join(["%i" % random.randint(0, 9)
for x in range(0, 1000000)]))


class FakeSocketObject(object):
Expand Down
3 changes: 2 additions & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ def test_protocol2(self):
res = bytes(format_args_in_redis_protocol("SET", "key", "foobar"))
self.assertEquals(res, b"*3\r\n$3\r\nSET\r\n$3\r\nkey\r\n"
b"$6\r\nfoobar\r\n")
res = bytes(format_args_in_redis_protocol("SET", "key", six.u("foobar")))
res = bytes(format_args_in_redis_protocol("SET", "key",
six.u("foobar")))
self.assertEquals(res, b"*3\r\n$3\r\nSET\r\n$3\r\nkey\r\n"
b"$6\r\nfoobar\r\n")

Expand Down

0 comments on commit 8b32741

Please sign in to comment.