From e459eacf0416cddadffd402ea0d9046a4530c5ff 2012-12-15 20:33:42 From: Takafumi Arakaki Date: 2012-12-15 20:33:42 Subject: [PATCH] Fix tox.ini Prior to this patch, test for Python 3.2 failed. Also, arguments can be passed to iptest via tox command now. e.g.: `tox -- IPython.core` --- diff --git a/tox.ini b/tox.ini index 82769a1..0fdf8e7 100644 --- a/tox.ini +++ b/tox.ini @@ -7,13 +7,20 @@ envlist = py26, py27, py32 [testenv] +deps = + nose + +# To avoid loading IPython module in the current directory, change +# current directory to ".tox/py*/tmp" before running test. +changedir = {envtmpdir} + commands = - pip install -q --use-mirrors nose + # As pip does not treat egg, use easy_install to install PyZMQ. + # See also: https://github.com/zeromq/pyzmq easy_install -q pyzmq - iptest -w /tmp + iptest [] [testenv:py32] commands = - pip install -q --use-mirrors nose easy_install -q pyzmq - iptest3 -w /tmp + iptest3 []