def test_zcount(self): zset = ZSet() zset.zadd(a=1, b=2, c=2, d=2, e=3) self.assertEqual(zset.zcount(low=2, high=2), 3)