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

Function test_two_nullptrs

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

Source from the content-addressed store, hash-verified

16void test_one_nullptr() { py::scoped_critical_section lock{py::handle{}}; }
17
18void test_two_nullptrs() { py::scoped_critical_section lock{py::handle{}, py::handle{}}; }
19
20void test_first_nullptr() {
21 py::dict d;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected