diff options
author | Victor Stinner <vstinner@redhat.com> | 2015-07-27 18:08:10 +0200 |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2015-07-27 18:08:10 +0200 |
commit | 3fde65eeae0019ec0971442886331fb7ffbcdffb (patch) | |
tree | d9e9bb91d2c73af79597d9ed6a3066a923e5149f /tox.ini | |
parent | d9c602ffb15c2619788d159a2fe0aeb1de282f85 (diff) | |
download | python-memcached-3fde65eeae0019ec0971442886331fb7ffbcdffb.tar.gz |
More Python 3 fixes
* Port set_multi() to Python 3
* Port delete_multi() to Python 3
* Fix _get_server() on Python 3 when the connection to the first server
fails: encode to ASCII before calling serverHashFunction.
* Fix expect(): don't decode line on Python 3, return the raw line
* Add more unit tests
* tox now also runs unit tests
* Explicit the encoding when calling str.encode(): use 'utf-8'
* test_memcache: close sockets in tearDown()
* test_get_unknown_value(): delete the key to ensure that it doesn't exist
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -9,7 +9,9 @@ usedevelop = True install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -commands = nosetests {posargs} +commands = + nosetests {posargs} + python -c 'import memcache; memcache._doctest()' [tox:jenkins] downloadcache = ~/cache/pip |