Searched refs:StrIssue (Results 1 – 2 of 2) sorted by relevance
119 struct StrIssue { struct122 StrIssue() = default; argument123 StrIssue(int i) : val{i} {} in StrIssue() function346 py::class_<StrIssue>(m, "StrIssue") in TEST_SUBMODULE()349 .def("__str__", [](const StrIssue &si) { in TEST_SUBMODULE()
437 assert str(m.StrIssue(3)) == "StrIssue[3]"440 str(m.StrIssue("no", "such", "constructor"))