Skip to content

Commit

Permalink
Also capture stderr so that no errors are seen on console
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Algarvio <[email protected]>
  • Loading branch information
s0undt3ch committed Jan 4, 2024
1 parent 239e0f4 commit 673e9e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pytestskipmarkers/utils/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def is_fips_enabled() -> bool:
[sysctl_path, "crypto.fips_enabled"],
check=False,
shell=False,
stdout=subprocess.PIPE,
capture_output=True,
text=True,
)
if ret.returncode == 0:
Expand Down

0 comments on commit 673e9e9

Please sign in to comment.