##// END OF EJS Templates
run-tests: prefer PYTHON3 constant to many version_info checks (issue4668)...
Augie Fackler -
r25158:3906b978 default
parent child Browse files
Show More
@@ -303,8 +303,9 b' def parseargs(args, parser):'
303 'warning: --timeout option ignored with --debug\n')
303 'warning: --timeout option ignored with --debug\n')
304 options.timeout = 0
304 options.timeout = 0
305 if options.py3k_warnings:
305 if options.py3k_warnings:
306 if sys.version_info[:2] < (2, 6) or sys.version_info[:2] >= (3, 0):
306 if PYTHON3:
307 parser.error('--py3k-warnings can only be used on Python 2.6+')
307 parser.error(
308 '--py3k-warnings can only be used on Python 2.6 and 2.7')
308 if options.blacklist:
309 if options.blacklist:
309 options.blacklist = parselistfiles(options.blacklist, 'blacklist')
310 options.blacklist = parselistfiles(options.blacklist, 'blacklist')
310 if options.whitelist:
311 if options.whitelist:
General Comments 0
You need to be logged in to leave comments. Login now