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

Function function_with_multiple_warnings

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

Source from the content-addressed store, hash-verified

777 #[pyo3(warn(message = "TPMW: this function raises warning"))]
778 #[pyo3(warn(message = "TPMW: this function raises FutureWarning", category = PyFutureWarning))]
779 fn function_with_multiple_warnings() {}
780
781 py_expect_warning_for_fn!(
782 function_with_multiple_warnings,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected