[stable-2.5] Relax ansible-test python version checking.

(cherry picked from commit d6cc3c4187)

Co-authored-by: Matt Clay <matt@mystile.com>
This commit is contained in:
Matt Clay 2018-11-13 18:02:31 -08:00
parent f38a596e5f
commit e71d541895

View file

@ -9,7 +9,7 @@ try:
except ImportError:
pip = None
print(sys.version)
print('.'.join(u'%s' % i for i in sys.version_info))
if pip:
print('pip %s from %s' % (pip.__version__, os.path.dirname(pip.__file__)))