summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2015-07-27 18:08:10 +0200
committerVictor Stinner <vstinner@redhat.com>2015-07-27 18:08:10 +0200
commit3fde65eeae0019ec0971442886331fb7ffbcdffb (patch)
treed9e9bb91d2c73af79597d9ed6a3066a923e5149f /tox.ini
parentd9c602ffb15c2619788d159a2fe0aeb1de282f85 (diff)
downloadpython-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.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 60348cb..444c527 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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