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

Function test_one_nullptr

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

Source from the content-addressed store, hash-verified

14namespace test_scoped_critical_section_ns {
15
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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected