changeset: 89361:c89e495cdff8 branch: 3.3 parent: 89359:7358ca69f351 user: Serhiy Storchaka date: Mon Feb 24 13:57:00 2014 +0200 files: Misc/NEWS Tools/scripts/run_tests.py description: Issue #20535: PYTHONWARNING no longer affects the run_tests.py script. Patch by Arfrever Frehtes Taifersar Arahesis. diff -r 7358ca69f351 -r c89e495cdff8 Misc/NEWS --- a/Misc/NEWS Mon Feb 24 09:35:07 2014 +0100 +++ b/Misc/NEWS Mon Feb 24 13:57:00 2014 +0200 @@ -149,6 +149,12 @@ - Issue #20609: Restored the ability to build 64-bit Windows binaries on 32-bit Windows, which was broken by the change in issue #19788. +Tools/Demos +----------- + +- Issue #20535: PYTHONWARNING no longer affects the run_tests.py script. + Patch by Arfrever Frehtes Taifersar Arahesis. + What's New in Python 3.3.4? =========================== diff -r 7358ca69f351 -r c89e495cdff8 Tools/scripts/run_tests.py --- a/Tools/scripts/run_tests.py Mon Feb 24 09:35:07 2014 +0100 +++ b/Tools/scripts/run_tests.py Mon Feb 24 13:57:00 2014 +0200 @@ -32,6 +32,12 @@ ] # Allow user-specified interpreter options to override our defaults. args.extend(test.support.args_from_interpreter_flags()) + + # Workaround for issue #20355 + os.environ.pop("PYTHONWARNINGS", None) + # Workaround for issue #20361 + args.extend(['-W', 'error::BytesWarning']) + args.extend(['-m', 'test', # Run the test suite '-r', # Randomize test order '-w', # Re-run failed tests in verbose mode