diff options
author | Victor Stinner <vstinner@python.org> | 2019-12-08 07:38:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-08 07:38:16 (GMT) |
commit | 6cac1136665b70f72db291b95876d7affcf1d2db (patch) | |
tree | baf9af65677cacb92ec5d10d8567e90bf8246b17 /Lib/test/support/script_helper.py | |
parent | 2b7de6696bf2f924cd2cd9ff0a539c8aa37c6244 (diff) | |
download | cpython-6cac1136665b70f72db291b95876d7affcf1d2db.zip cpython-6cac1136665b70f72db291b95876d7affcf1d2db.tar.gz cpython-6cac1136665b70f72db291b95876d7affcf1d2db.tar.bz2 |
bpo-38991: Remove test.support.strip_python_stderr() (GH-17490)
test.support: run_python_until_end(), assert_python_ok() and
assert_python_failure() functions no longer strip whitespaces from
stderr.
Diffstat (limited to 'Lib/test/support/script_helper.py')
-rw-r--r-- | Lib/test/support/script_helper.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/support/script_helper.py b/Lib/test/support/script_helper.py index 8351998..37e576d 100644 --- a/Lib/test/support/script_helper.py +++ b/Lib/test/support/script_helper.py @@ -11,7 +11,7 @@ import py_compile import zipfile from importlib.util import source_from_cache -from test.support import make_legacy_pyc, strip_python_stderr +from test.support import make_legacy_pyc # Cached result of the expensive test performed in the function below. @@ -134,7 +134,6 @@ def run_python_until_end(*args, **env_vars): proc.kill() subprocess._cleanup() rc = proc.returncode - err = strip_python_stderr(err) return _PythonRunResult(rc, out, err), cmd_line def _assert_python(expected_success, /, *args, **env_vars): |