changeset: 89362:656d0e273ccb parent: 89360:cd9403fca648 parent: 89361:c89e495cdff8 user: Serhiy Storchaka date: Mon Feb 24 14:00:38 2014 +0200 files: Misc/NEWS description: Issue #20535: PYTHONWARNING no longer affects the run_tests.py script. Patch by Arfrever Frehtes Taifersar Arahesis. diff -r cd9403fca648 -r 656d0e273ccb Misc/NEWS --- a/Misc/NEWS Mon Feb 24 13:46:21 2014 +0200 +++ b/Misc/NEWS Mon Feb 24 14:00:38 2014 +0200 @@ -22,6 +22,12 @@ - Issue #20743: Fix a reference leak in test_tcl. +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.4.0 release candidate 2? =============================================== diff -r cd9403fca648 -r 656d0e273ccb Tools/scripts/run_tests.py --- a/Tools/scripts/run_tests.py Mon Feb 24 13:46:21 2014 +0200 +++ b/Tools/scripts/run_tests.py Mon Feb 24 14:00:38 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