New issue 191: Generative environments are only created if the fragment is used
https://bitbucket.org/hpk42/tox/issue/191/generative-environments-are-only-created

Hynek Schlawack:

Example:

```init
[tox]
envlist = py27-{a,b}

[testenv]
deps =
   b: pytest
commands = true
```

Makes `tox -l` complain: `ERROR: unknown environment 'py27-a'`

My current workaround is to conditionally set some bogus env variable (which 
let me run int o #190 :)).

Having unused fragments is useful, I do it for example in 
https://github.com/hynek/structlog/blob/master/tox.ini to be more explicit and 
save myself listing ‘bare’ environments.


_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to