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
parent
5e5a03c001
commit
bb4a6b1bcb
2
tox.ini
2
tox.ini
|
@ -11,7 +11,7 @@ deps =
|
||||||
taxii2-client
|
taxii2-client
|
||||||
medallion
|
medallion
|
||||||
commands =
|
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_*
|
passenv = CI TRAVIS TRAVIS_*
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue