summaryrefslogtreecommitdiff
path: root/test/runner/versions.py
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2020-01-13 14:35:34 -0800
committerMatt Clay <matt@mystile.com>2020-01-14 08:50:28 -0800
commit7c7d33400680f8e411984242adfc4f9915f09af1 (patch)
tree538b6818284561acdd9de3ccbc2981c3c1248368 /test/runner/versions.py
parent4d21c90427244b6c3d6dd7d8474df864d89c66ee (diff)
downloadansible-7c7d33400680f8e411984242adfc4f9915f09af1.tar.gz
[stable-2.7] Ignore warnings in ansible-test environment check.
(cherry picked from commit 3db1ac4f56cfd781bc531c5223c7fe748994c588) Co-authored-by: Matt Clay <matt@mystile.com>
Diffstat (limited to 'test/runner/versions.py')
-rwxr-xr-xtest/runner/versions.py3
1 files changed, 3 insertions, 0 deletions
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