diff options
author | Matt Clay <matt@mystile.com> | 2020-01-13 14:35:34 -0800 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2020-01-14 08:50:37 -0800 |
commit | 2d2c841ded9e265d0ffe3394350a2753771a4ba5 (patch) | |
tree | d12cb7ac5fd5e1f6434981960859e60c008888a5 | |
parent | 2cd12efdb7bbecc6bea1a18ca510632a45d4beca (diff) | |
download | ansible-2d2c841ded9e265d0ffe3394350a2753771a4ba5.tar.gz |
[stable-2.8] Ignore warnings in ansible-test environment check.
(cherry picked from commit 3db1ac4f56cfd781bc531c5223c7fe748994c588)
Co-authored-by: Matt Clay <matt@mystile.com>
-rw-r--r-- | changelogs/fragments/ansible-test-ignore-pip-warnings.yml | 2 | ||||
-rwxr-xr-x | test/runner/versions.py | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/fragments/ansible-test-ignore-pip-warnings.yml b/changelogs/fragments/ansible-test-ignore-pip-warnings.yml new file mode 100644 index 0000000000..e78aca3b19 --- /dev/null +++ b/changelogs/fragments/ansible-test-ignore-pip-warnings.yml @@ -0,0 +1,2 @@ +bugfixes: + - ansible-test now ignores warnings when comparing pip versions before and after integration tests run diff --git a/test/runner/versions.py b/test/runner/versions.py index e2a5db8767..edf7a36afe 100755 --- a/test/runner/versions.py +++ b/test/runner/versions.py @@ -3,6 +3,9 @@ import os import sys +import warnings + +warnings.simplefilter('ignore') # avoid python version deprecation warnings when using newer pip dependencies try: import pip |