Skip to content

OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security

test(plugin): support isolated helper checks on Python 3.10 (#1311)

mldangelo-oai90c54917a6b4
diff --git a/plugins/codex-security/tests/test_cli_dry_runs.py b/plugins/codex-security/tests/test_cli_dry_runs.py
index 1a4cce6cc..0af345e7a 100644
--- a/plugins/codex-security/tests/test_cli_dry_runs.py
+++ b/plugins/codex-security/tests/test_cli_dry_runs.py
@@ -30,7 +30,7 @@ def test_all_scripts_support_help() -> None:
@pytest.mark.parametrize("name", ("workbench_publication.py", "workbench_severity.py"))
def test_workbench_helpers_support_help_with_safe_path(name: str) -> None:
result = subprocess.run(
- [sys.executable, "-P", str(SCRIPT_DIR / name), "--help"],
+ [sys.executable, "-I", str(SCRIPT_DIR / name), "--help"],
check=False,
capture_output=True,
text=True,