(self, key, start, stop)
| 148 | fake_sorted_set.sort() |
| 149 | |
| 150 | def zrange(self, key, start, stop): |
| 151 | # `stop` is inclusive in Redis so we use `stop + 1` unless that would |
| 152 | # cause us to move from negative (right-most) indices to positive |
| 153 | stop = stop + 1 if stop != -1 else None |
| 154 | return [e[1] for e in self._get_sorted_set(key)[start:stop]] |
| 155 | |
| 156 | def zrangebyscore(self, key, min_, max_): |
| 157 | return [ |
no test coverage detected