MCPcopy Create free account
hub / github.com/PyO3/pyo3 / function_with_warning

Function function_with_warning

tests/test_pyfunction.rs:724–724  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

722 #[pyfunction]
723 #[pyo3(warn(message = "TPW: this function raises warning"))]
724 fn function_with_warning() {}
725
726 py_expect_warning_for_fn!(
727 function_with_warning,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected