Unverified Kaydet (Commit) b9392504 authored tarafından Pablo Galindo's avatar Pablo Galindo Kaydeden (comit) GitHub

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.
üst beed84ca
......@@ -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):
......
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