Skip to content

Commit 073f1fc

Browse files
Update tests/test_commands.py
Co-authored-by: Copilot <[email protected]>
1 parent 9d4c3ee commit 073f1fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2892,8 +2892,8 @@ def test_lrange(self, r):
28922892
assert r.lrange("a", 0, 2) == [b"1", b"2", b"3"]
28932893
assert r.lrange("a", 2, 10) == [b"3", b"4", b"5"]
28942894
assert r.lrange("a", 0, -1) == [b"1", b"2", b"3", b"4", b"5"]
2895-
r.rpush(bytes(345), "12", "22", "32", "42", "52")
2896-
assert r.lrange(bytes(345), 0, 0) == [b"12"]
2895+
r.rpush(b"345", "12", "22", "32", "42", "52")
2896+
assert r.lrange(b"345", 0, 0) == [b"12"]
28972897

28982898
def test_lrem(self, r):
28992899
r.rpush("a", "Z", "b", "Z", "Z", "c", "Z", "Z")

0 commit comments

Comments
 (0)