summaryrefslogtreecommitdiffstats
path: root/Lib/test/support.py
diff options
context:
space:
mode:
authorRichard Oudkerk <shibturn@gmail.com>2012-06-14 14:30:10 (GMT)
committerRichard Oudkerk <shibturn@gmail.com>2012-06-14 14:30:10 (GMT)
commit73d9a292aeed5aa3414c911c1f34afeea17f0dda (patch)
tree6030ad6f193aa59ce6a06006b020dbe1e85deda6 /Lib/test/support.py
parentbc07cb883e5c03b8c108c2c9d86bc0a158d62c27 (diff)
downloadcpython-73d9a292aeed5aa3414c911c1f34afeea17f0dda.zip
cpython-73d9a292aeed5aa3414c911c1f34afeea17f0dda.tar.gz
cpython-73d9a292aeed5aa3414c911c1f34afeea17f0dda.tar.bz2
Issue #13841: Make child processes exit using sys.exit() on Windows
Diffstat (limited to 'Lib/test/support.py')
-rw-r--r--Lib/test/support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py
index 6749a511..3ff1df5 100644
--- a/Lib/test/support.py
+++ b/Lib/test/support.py
@@ -1593,7 +1593,7 @@ def strip_python_stderr(stderr):
This will typically be run on the result of the communicate() method
of a subprocess.Popen object.
"""
- stderr = re.sub(br"\[\d+ refs\]\r?\n?$", b"", stderr).strip()
+ stderr = re.sub(br"\[\d+ refs\]\r?\n?", b"", stderr).strip()
return stderr
def args_from_interpreter_flags():