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/test_faulthandler.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/test_faulthandler.py')
-rw-r--r-- | Lib/test/test_faulthandler.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_faulthandler.py b/Lib/test/test_faulthandler.py index a4427a5..ac8cf46 100644 --- a/Lib/test/test_faulthandler.py +++ b/Lib/test/test_faulthandler.py @@ -71,9 +71,8 @@ class FaultHandlerTests(unittest.TestCase): with support.SuppressCrashReport(): process = script_helper.spawn_python('-c', code, pass_fds=pass_fds) with process: - stdout, stderr = process.communicate() + output, stderr = process.communicate() exitcode = process.wait() - output = support.strip_python_stderr(stdout) output = output.decode('ascii', 'backslashreplace') if filename: self.assertEqual(output, '') |