[tox] envlist=py27,py3 [testenv] deps = pytest py27: unittest2 >= 0.7 commands = {envpython} -m pytest {posargs:test} [pytest] python_files = *test_*.py