diff options
author | Stanislav Levin <31205609+stanislavlevin@users.noreply.github.com> | 2018-02-08 09:58:31 +0300 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2018-02-07 22:58:31 -0800 |
commit | 0d89d58e78dec759eb0f49f1d59e287c1fe61d51 (patch) | |
tree | f4a760d9af1aae37151f20b38bb21f5766916798 | |
parent | edb7d0051202280d44939fd48863d244fe7b2c2b (diff) | |
download | six-git-0d89d58e78dec759eb0f49f1d59e287c1fe61d51.tar.gz |
use -m for invoking py.test (#226)
Linux distributions provides py.test script on their own way for
support python2 and python3 both together.
For example py.test with python2 shebang or py.test with python3
one. Or scripts with another names, e.g. py.test - python2 shebang,
py.test3 - python3 shebang. Therefore it is better to import module
instead.
-rw-r--r-- | tox.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ indexserver= [testenv] deps= pytest -commands= py.test -rfsxX {posargs} +commands= python -m pytest -rfsxX {posargs} [testenv:flake8] basepython=python |