Show More
@@ -303,8 +303,9 b' def parseargs(args, parser):' | |||
|
303 | 303 | 'warning: --timeout option ignored with --debug\n') |
|
304 | 304 | options.timeout = 0 |
|
305 | 305 | if options.py3k_warnings: |
|
306 | if sys.version_info[:2] < (2, 6) or sys.version_info[:2] >= (3, 0): | |
|
307 | parser.error('--py3k-warnings can only be used on Python 2.6+') | |
|
306 | if PYTHON3: | |
|
307 | parser.error( | |
|
308 | '--py3k-warnings can only be used on Python 2.6 and 2.7') | |
|
308 | 309 | if options.blacklist: |
|
309 | 310 | options.blacklist = parselistfiles(options.blacklist, 'blacklist') |
|
310 | 311 | if options.whitelist: |
General Comments 0
You need to be logged in to leave comments.
Login now