summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2018-11-07 22:21:17 (GMT)
committerGitHub <noreply@github.com>2018-11-07 22:21:17 (GMT)
commitb93925047a025511c48a7bf3e6e6f0cfec79b8ed (patch)
treebfcef2229d9978d65220d0d5e69ae3715f5bda2c
parentbeed84ca5e0f2784d758478d4e7c81c9c1088c4e (diff)
downloadcpython-b93925047a025511c48a7bf3e6e6f0cfec79b8ed.zip
cpython-b93925047a025511c48a7bf3e6e6f0cfec79b8ed.tar.gz
cpython-b93925047a025511c48a7bf3e6e6f0cfec79b8ed.tar.bz2
Fix the construction of subprocess.CalledProcessError in test_venv (GH-10400)
The constructor of subprocess.CalledProcessError in the check_output function had an extra None in it.
-rw-r--r--Lib/test/test_venv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_venv.py b/Lib/test/test_venv.py
index c86f7a1..461fe7af 100644
--- a/Lib/test/test_venv.py
+++ b/Lib/test/test_venv.py
@@ -35,7 +35,7 @@ def check_output(cmd, encoding=None):
out, err = p.communicate()
if p.returncode:
raise subprocess.CalledProcessError(
- p.returncode, cmd, None, out, err)
+ p.returncode, cmd, out, err)
return out, err
class BaseTest(unittest.TestCase):