You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a subprocess() command in the context of a test case, the settings are not carried over into the subprocess, as it has its own execution context.
While there's low likelihood that this library could or should prevent a non-Python command like subprocess.check_call(["curl", "https://example.com"]), if the subprocess is another Python program, we should attempt to apply the same settings to that Python execution.
When running a
subprocess()
command in the context of a test case, the settings are not carried over into the subprocess, as it has its own execution context.While there's low likelihood that this library could or should prevent a non-Python command like
subprocess.check_call(["curl", "https://example.com"])
, if the subprocess is another Python program, we should attempt to apply the same settings to that Python execution.See how
pytest-cov
does this: https://pytest-cov.readthedocs.io/en/stable/subprocess-support.htmlThe text was updated successfully, but these errors were encountered: