diff --git a/client/ledis-py/setup.py b/client/ledis-py/setup.py index c6c4376..46a61da 100644 --- a/client/ledis-py/setup.py +++ b/client/ledis-py/setup.py @@ -25,15 +25,12 @@ except ImportError: from distutils.core import setup PyTest = lambda x: x -f = open(os.path.join(os.path.dirname(__file__), 'README.rst')) -long_description = f.read() -f.close() setup( name='ledis', version=__version__, - description='Python client for ledis key-value store', - long_description=long_description, + description='Python client for ledisdb key-value database', + long_description='Python client for ledisdb key-value database', url='https://github.com/siddontang/ledisdb', keywords=['ledis', 'key-value store'], license='MIT', @@ -49,9 +46,5 @@ setup( 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.2', - 'Programming Language :: Python :: 3.3', - 'Programming Language :: Python :: 3.4', ] ) diff --git a/client/ledis-py/tests/test_cmd_zset.py b/client/ledis-py/tests/test_cmd_zset.py index ac870ed..08d0e8a 100644 --- a/client/ledis-py/tests/test_cmd_zset.py +++ b/client/ledis-py/tests/test_cmd_zset.py @@ -66,7 +66,7 @@ class TestCmdZset(unittest.TestCase): assert l.zrangebyscore('a', 2, 4, withscores=True) == \ [('a2', 2), ('a3', 3), ('a4', 4)] - def test_rank(self): + def test_zrank(self): l.zadd('a', a1=1, a2=2, a3=3, a4=4, a5=5) assert l.zrank('a', 'a1') == 0 assert l.zrank('a', 'a3') == 2 @@ -167,4 +167,3 @@ class TestCmdZset(unittest.TestCase): assert 0 < l.zttl('a') <= 100 assert l.zpersist('a') assert l.zttl('a') == -1 -