Commit 20f8728b authored by Serhiy Storchaka's avatar Serhiy Storchaka

Issue #20535: PYTHONWARNING no longer affects the run_tests.py script.

Patch by Arfrever Frehtes Taifersar Arahesis.
parent 09141c47
...@@ -149,6 +149,12 @@ Build ...@@ -149,6 +149,12 @@ Build
- Issue #20609: Restored the ability to build 64-bit Windows binaries on - Issue #20609: Restored the ability to build 64-bit Windows binaries on
32-bit Windows, which was broken by the change in issue #19788. 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? What's New in Python 3.3.4?
=========================== ===========================
......
...@@ -32,6 +32,12 @@ def main(regrtest_args): ...@@ -32,6 +32,12 @@ def main(regrtest_args):
] ]
# Allow user-specified interpreter options to override our defaults. # Allow user-specified interpreter options to override our defaults.
args.extend(test.support.args_from_interpreter_flags()) 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 args.extend(['-m', 'test', # Run the test suite
'-r', # Randomize test order '-r', # Randomize test order
'-w', # Re-run failed tests in verbose mode '-w', # Re-run failed tests in verbose mode
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment