[New-bugs-announce] [issue20535] run_tests.py: Work around issues 20355 and 20361
Arfrever Frehtes Taifersar Arahesis
report at bugs.python.org
Thu Feb 6 22:55:17 CET 2014
New submission from Arfrever Frehtes Taifersar Arahesis:
Tools/scripts/run_tests.py contains:
def main(regrtest_args):
args = [sys.executable,
'-W', 'default', # Warnings set to 'default'
'-bb', # Warnings about bytes/bytearray
'-E', # Ignore environment variables
]
As described in issues #20355 and #20361, -bb fails to enable BytesWarning errors.
I suggest to include a small workaround, which will be deleted in Python 3.5. I attach patch.
----------
components: Tests
files: run_tests.py.patch
keywords: patch
messages: 210423
nosy: Arfrever, serhiy.storchaka
priority: normal
severity: normal
status: open
title: run_tests.py: Work around issues 20355 and 20361
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file33948/run_tests.py.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20535>
_______________________________________
More information about the New-bugs-announce
mailing list