mirror of
https://github.com/openai/codex.git
synced 2026-11-30 00:10:49 +00:00
Annotate test helper with dead_code allow
This commit is contained in:
@@ -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<Path>) -> Result<ResponseStream> {
|
||||
let (tx_event, rx_event) = mpsc::channel::<Result<ResponseEvent>>(16);
|
||||
let f = std::fs::File::open(path.as_ref())?;
|
||||
|
||||
Reference in New Issue
Block a user