From d6cc3c41874b64e346639549fd18d8c41be0db8b Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Tue, 13 Nov 2018 18:02:31 -0800 Subject: [PATCH] Relax ansible-test python version checking. --- test/runner/versions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runner/versions.py b/test/runner/versions.py index e2a5db8767..78e2fae4ad 100755 --- a/test/runner/versions.py +++ b/test/runner/versions.py @@ -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__)))