MCPcopy Create free account
hub / github.com/pybind/pybind11 / test_second_nullptr

Function test_second_nullptr

tests/test_scoped_critical_section.cpp:25–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25void test_second_nullptr() {
26 py::dict d;
27 py::scoped_critical_section lock{d, py::handle{}};
28}
29
30// Referenced test implementation: https://github.com/PyO3/pyo3/blob/v0.25.0/src/sync.rs#L874
31class BoolWrapper {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected