File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -56,14 +56,16 @@ def subprocess_run_for_testing(
5656 timeout : float = None ,
5757 stdout = None ,
5858 stderr = None ,
59- check = False ,
60- text = True ,
61- capture_output = False
59+ check : bool = False ,
60+ text : bool = True ,
61+ capture_output : bool = False
6262) -> "subprocess.Popen" :
6363 """
6464 Create and run a subprocess.
6565
66- Thin wrapper around subprocess.run, intended for testing.
66+ Thin wrapper around `subprocess.run`, intended for testing. Will
67+ mark fork() failures on Cygwin as expected failures: not a
68+ success, but not indicating a problem with the code either.
6769
6870 Parameters
6971 ----------
@@ -73,9 +75,9 @@ def subprocess_run_for_testing(
7375 stdout, stderr
7476 check : bool
7577 text : bool
76- Also called `universal_newlines` in subprocess. I chose this
77- name since the main effect is returning bytes (False) vs. str
78- (True), though it also tries to normalize newlines across
78+ Also called `` universal_newlines` ` in subprocess. I chose this
79+ name since the main effect is returning bytes (` False` ) vs. str
80+ (` True` ), though it also tries to normalize newlines across
7981 platforms.
8082 capture_output : bool
8183 Set stdout and stderr to subprocess.PIPE
You can’t perform that action at this time.
0 commit comments