Search code examples
pythonconfiguration-filestox

Where is the Python tox documentation for tox.ini [foo:bar] section inheriting from [foo]?


Where is the tox documentation that describes section inheritance? e.g., for the following, [testenv:py27] inherits from [testenv]:

[testenv]
command = py.test {toxinidir}/test
deps = pytest

[testenv:py27]
basepython = python2.7

I don't see any mention of it here: http://tox.readthedocs.org/en/latest/example/basic.html


Solution

  • This is described in the "Virtual test environment settings" section of the tox configuration specification.