Make YAPF and PyLint happy

pull/20771/head
Lidi Zheng 5 years ago
parent 70821ebe4a
commit 57a0173e5c
  1. 4
      tools/run_tests/run_tests.py

@ -862,12 +862,12 @@ class PythonLanguage(object):
name='pypy3', major='3', config_vars=config_vars) name='pypy3', major='3', config_vars=config_vars)
if args.iomgr_platform == 'asyncio': if args.iomgr_platform == 'asyncio':
if args.compiler not in ('default', 'python3.6', 'python3.7', 'python3.8'): if args.compiler not in ('default', 'python3.6', 'python3.7',
'python3.8'):
raise Exception( raise Exception(
'Compiler %s not supported with IO Manager platform: %s' % 'Compiler %s not supported with IO Manager platform: %s' %
(args.compiler, args.iomgr_platform)) (args.compiler, args.iomgr_platform))
if args.compiler == 'default': if args.compiler == 'default':
if os.name == 'nt': if os.name == 'nt':
return (python35_config,) return (python35_config,)

Loading…
Cancel
Save