diff options
author | 2018-10-24 16:08:14 -0700 | |
---|---|---|
committer | 2018-10-24 16:08:14 -0700 | |
commit | cd0c58d6740fc77d63138ce05e3c5a96c14ee2b2 (patch) | |
tree | 5a093d672d7afd3558f4e6fb27bd7b89b0f52185 /tools/run_tests | |
parent | 2b54c93c652c912241e75d3abec02a1176cf03c7 (diff) | |
parent | a62344e56ab43a0fa9fd382e7e465751261b4a39 (diff) |
Merge pull request #16945 from lidizheng/update-python-3.7-dockerfile
Update Python 2.7/3.5/3.6/3.7 testing Dockerfile
Diffstat (limited to 'tools/run_tests')
-rwxr-xr-x | tools/run_tests/run_tests.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index ff6c3e9820..44151f49fb 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -759,8 +759,10 @@ class PythonLanguage(object): self.python_manager_name(), _docker_arch_suffix(self.args.arch)) def python_manager_name(self): - if self.args.compiler in ['python3.5', 'python3.6']: - return 'pyenv' + if self.args.compiler in [ + 'python2.7', 'python3.5', 'python3.6', 'python3.7' + ]: + return 'stretch_' + self.args.compiler[len('python'):] elif self.args.compiler == 'python_alpine': return 'alpine' else: |