From 8ec612275aa9ad10c9614ce76e2164944bceb82d Mon Sep 17 00:00:00 2001 From: aibrahim-oai Date: Fri, 11 Jul 2025 15:24:14 -0700 Subject: [PATCH] Annotate test helper with dead_code allow --- codex-rs/core/src/client.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/codex-rs/core/src/client.rs b/codex-rs/core/src/client.rs index 4eeaf23b63..84623a5552 100644 --- a/codex-rs/core/src/client.rs +++ b/codex-rs/core/src/client.rs @@ -374,6 +374,7 @@ where } /// used in tests to stream from a text SSE file +#[allow(dead_code)] async fn stream_from_fixture(path: impl AsRef) -> Result { let (tx_event, rx_event) = mpsc::channel::>(16); let f = std::fs::File::open(path.as_ref())?;