Skip to content

Commit

Permalink
fix:flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed Sep 21, 2024
1 parent ace2b94 commit 729ea36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions test/test_mixins/test_streams_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ def get_stream_message(client, stream, message_id):
def test_xread_multiple_streams_blocking(r: redis.Redis):
stream1 = "stream1"
stream2 = "stream2"
m1 = r.xadd(stream1, {"foo": "bar"})
m2 = r.xadd(stream2, {"bing": "baz"})
r.xadd(stream1, {"foo": "bar"})
r.xadd(stream2, {"bing": "baz"})

res = r.xread(streams={stream1: 0, stream2: 0}, block=10)
assert len(res) == 2
Expand Down

0 comments on commit 729ea36

Please sign in to comment.