##// END OF EJS Templates
Strip prompts even if the prompt isn't present on the first line....
Strip prompts even if the prompt isn't present on the first line. Users (including me) often copy and paste examples from just after the first prompt. This checks for prompts in the first two lines of a block, but if they aren't found there, it will ignore prompt-like prefixes in later lines, to minimise interference with multi-line strings etc. Closes gh-3206

File last commit:

r8877:e459eacf
r10652:e3df40cf
Show More
tox.ini
26 lines | 690 B | text/x-ini | IniLexer
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
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 =
# As pip does not treat egg, use easy_install to install PyZMQ.
# See also: https://github.com/zeromq/pyzmq
easy_install -q pyzmq
iptest []
[testenv:py32]
commands =
easy_install -q pyzmq
iptest3 []