Annotate test helper with dead_code allow

This commit is contained in:
aibrahim-oai
2025-07-11 15:24:14 -07:00
parent d55cb449a1
commit 8ec612275a
+1
View File
@@ -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())?;