mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-29 16:37:13 +00:00
Fix typo which caused the C++ set test to be skipped
It used to pass anyway because the expected output was identical to the Python set.
This commit is contained in:
parent
f2b36c2ed2
commit
4337a5d86a
@ -154,7 +154,7 @@ void init_ex2(py::module &m) {
|
|||||||
.def("get_list", &Example2::get_list, "Return a Python list")
|
.def("get_list", &Example2::get_list, "Return a Python list")
|
||||||
.def("get_list_2", &Example2::get_list_2, "Return a C++ list")
|
.def("get_list_2", &Example2::get_list_2, "Return a C++ list")
|
||||||
.def("get_set", &Example2::get_set, "Return a Python set")
|
.def("get_set", &Example2::get_set, "Return a Python set")
|
||||||
.def("get_set2", &Example2::get_set, "Return a C++ set")
|
.def("get_set2", &Example2::get_set_2, "Return a C++ set")
|
||||||
.def("get_array", &Example2::get_array, "Return a C++ array")
|
.def("get_array", &Example2::get_array, "Return a C++ array")
|
||||||
.def("print_dict", &Example2::print_dict, "Print entries of a Python dictionary")
|
.def("print_dict", &Example2::print_dict, "Print entries of a Python dictionary")
|
||||||
.def("print_dict_2", &Example2::print_dict_2, "Print entries of a C++ dictionary")
|
.def("print_dict_2", &Example2::print_dict_2, "Print entries of a C++ dictionary")
|
||||||
|
Loading…
Reference in New Issue
Block a user