Ignore new warnings traced on tox invocation.

See pypa/packaging#170.
This commit is contained in:
Chris Hunt 2019-07-22 18:00:53 -04:00
parent 8582f7e40f
commit 82f554f461
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,9 @@ test_script:
subst T: $env:TEMP
$env:TEMP = "T:\"
$env:TMP = "T:\"
# Workaround warnings traced in packaging.requirements with pyparsing 2.4.1.
# See pypa/packaging#170 and tox-dev/tox#1375.
$env:PYTHONWARNINGS = "ignore:warn_ungrouped_named_tokens_in_collection"
tox -e py -- -m unit
if ($LastExitCode -eq 0 -and $env:RUN_INTEGRATION_TESTS -eq "True") {
tox -e py -- --use-venv -m integration -n2 --durations=20