Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue20535

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:run_tests.py: Work around issues 20355 and 20361
Type:behaviorStage:resolved
Components:TestsVersions:Python 3.3, Python 3.4
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: serhiy.storchakaNosy List: Arfrever, ezio.melotti, michael.foord, pitrou, python-dev, serhiy.storchaka
Priority:normalKeywords:patch

Created on2014-02-06 21:55 byArfrever, last changed2022-04-11 14:57 byadmin. This issue is nowclosed.

Files
File nameUploadedDescriptionEdit
run_tests.py.patchArfrever,2014-02-06 21:55
Messages (4)
msg210423 -(view)Author: Arfrever Frehtes Taifersar Arahesis (Arfrever)*(Python triager)Date: 2014-02-06 21:55
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.
msg210791 -(view)Author: Antoine Pitrou (pitrou)*(Python committer)Date: 2014-02-09 22:35
This sounds fine.
msg212086 -(view)Author: Roundup Robot (python-dev)(Python triager)Date: 2014-02-24 12:01
New changesetc89e495cdff8 by Serhiy Storchaka in branch '3.3':Issue#20535: PYTHONWARNING no longer affects the run_tests.py script.http://hg.python.org/cpython/rev/c89e495cdff8New changeset656d0e273ccb by Serhiy Storchaka in branch 'default':Issue#20535: PYTHONWARNING no longer affects the run_tests.py script.http://hg.python.org/cpython/rev/656d0e273ccb
msg212096 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2014-02-24 13:35
LGTM too. Thank you for your patch Arfrever.
History
DateUserActionArgs
2022-04-11 14:57:58adminsetgithub: 64734
2014-02-24 13:35:58serhiy.storchakasetstatus: open -> closed
resolution: fixed
messages: +msg212096

stage: patch review -> resolved
2014-02-24 12:01:54python-devsetnosy: +python-dev
messages: +msg212086
2014-02-24 09:28:27serhiy.storchakasetassignee:serhiy.storchaka
2014-02-09 22:35:46pitrousetmessages: +msg210791
2014-02-08 18:41:22serhiy.storchakasetnosy: +pitrou,ezio.melotti,michael.foord

type: behavior
stage: patch review
2014-02-06 21:55:17Arfrevercreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp