lipro / sphinxcontrib-ansi

Sphinx extension that parse ANSI color sequences inside documents.
http://bitbucket.org/birkenfeld/sphinx-contrib
Other
0 stars 4 forks source link

tox doesn't execute py.test #5

Open rexut opened 7 years ago

rexut commented 7 years ago

In tox.ini the section [testenv:doc] overwrites the lists of dependencies and command execution so that the common section [testenv] will be ignored completely. A quick solution is to introduce two different sections, one for py.test and one sphinx-build.

In the future the tox.ini content have to be recreated from ground up to support different Python and Sphinx versions.

rexut commented 7 years ago

Okay, it's not a bug. You can trigger the common section when you specify a tox compatible testenv name for a specific Python version, for example:

tox -e py27