Change how tox invokes pytest, to workaround a seeming tox

bug which seems to be related to how it copes with code which
emits warnings.
master
Michael Chisholm 2019-08-08 15:22:21 -04:00
parent 5e5a03c001
commit bb4a6b1bcb
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ deps =
taxii2-client
medallion
commands =
pytest --cov=stix2 stix2/test/ --cov-report term-missing -W ignore::stix2.exceptions.STIXDeprecationWarning
python -m pytest --cov=stix2 stix2/test/ --cov-report term-missing -W ignore::stix2.exceptions.STIXDeprecationWarning
passenv = CI TRAVIS TRAVIS_*