Searched refs:throw_something (Results 1 – 2 of 2) sorted by relevance
427 void throw_something() { throw std::runtime_error("error"); } in TEST_SUBMODULE() function431 .def("throw_something", &PyPrintDestructor::throw_something); in TEST_SUBMODULE()
411 m.PyPrintDestructor().throw_something()