(self, r)
| 3983 | r.arop("a", 0, 2, ArrayAggregateOperations.MATCH) |
| 3984 | |
| 3985 | def test_ltrim(self, r): |
| 3986 | r.rpush("a", "1", "2", "3") |
| 3987 | assert r.ltrim("a", 0, 1) |
| 3988 | assert r.lrange("a", 0, -1) == [b"1", b"2"] |
| 3989 | |
| 3990 | def test_rpop(self, r): |
| 3991 | r.rpush("a", "1", "2", "3") |