diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-02-24 11:57:00 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-02-24 11:57:00 (GMT) |
commit | 20f8728bf0cce877c1908b15ddc59e2d1011ad0f (patch) | |
tree | 17ed9f4ab97f06a7f453758f3aebe4f15b9abea7 | |
parent | 09141c4782ba1b22ed7d3cc7a674e950c9a5ef6b (diff) | |
download | cpython-20f8728bf0cce877c1908b15ddc59e2d1011ad0f.zip cpython-20f8728bf0cce877c1908b15ddc59e2d1011ad0f.tar.gz cpython-20f8728bf0cce877c1908b15ddc59e2d1011ad0f.tar.bz2 |
Issue #20535: PYTHONWARNING no longer affects the run_tests.py script.
Patch by Arfrever Frehtes Taifersar Arahesis.
-rw-r--r-- | Misc/NEWS | 6 | ||||
-rw-r--r-- | Tools/scripts/run_tests.py | 6 |
2 files changed, 12 insertions, 0 deletions
@@ -149,6 +149,12 @@ Build - 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 --git a/Tools/scripts/run_tests.py b/Tools/scripts/run_tests.py index e2a2050..a6c5da3 100644 --- a/Tools/scripts/run_tests.py +++ b/Tools/scripts/run_tests.py @@ -32,6 +32,12 @@ def main(regrtest_args): ] # 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 |