The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(gateway): drop source-reading guard test from #71671 salvage
teknium10f554ce19ea8
diff --git a/contributors/emails/[email protected] b/contributors/emails/[email protected]new file mode 100644index 00000000000..e2eb89a005f--- /dev/null+++ b/contributors/emails/[email protected]@@ -0,0 +1 @@+hereicqdiff --git a/tests/gateway/test_71671_faulthandler_no_stderr.py b/tests/gateway/test_71671_faulthandler_no_stderr.pyindex a01e14e1ee5..7548ef54852 100644--- a/tests/gateway/test_71671_faulthandler_no_stderr.py+++ b/tests/gateway/test_71671_faulthandler_no_stderr.py@@ -3,7 +3,6 @@from __future__ import annotationsimport faulthandler-import osimport sysimport pytest@@ -33,15 +32,3 @@ def test_faulthandler_enable_falls_back_when_stderr_is_none(tmp_path):sys.stderr = real_stderrif was_enabled:faulthandler.enable()---def test_gateway_run_keeps_faulthandler_guard():- src = os.path.join(- os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))),- "gateway", "run.py",- )- with open(src, encoding="utf-8") as f:- text = f.read()- assert "try:\n faulthandler.enable()\n except (RuntimeError, ValueError, OSError):" in text, (- "gateway/run.py must keep the try/except guard around faulthandler.enable() (see #71671)"- )