diff options
Diffstat (limited to 'tools/run_tests/run_tests.py')
-rwxr-xr-x | tools/run_tests/run_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index 5dcdd3700c..b7ed529762 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -762,7 +762,7 @@ class PythonLanguage(object): if self.args.compiler in [ 'python2.7', 'python3.5', 'python3.6', 'python3.7' ]: - return 'stretch_%s' % re.sub(r'\D*', '', self.args.compiler) + return 'stretch_' + self.args.compiler[len('python'):] elif self.args.compiler == 'python_alpine': return 'alpine' else: |