Merge pull request #6769 from chrahunt/maint/fix-appveyor-build

Ignore new warnings traced on tox invocation.
This commit is contained in:
Pradyun Gedam 2019-07-23 15:20:35 +05:30 committed by GitHub
commit ec5a01dc9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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