mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 14:45:12 +00:00
Remove overlooked BAKEIN_BREAK in test_class_sh_property_non_owning.cpp,py (tests pass without any further changes).
This commit is contained in:
parent
6d8952a283
commit
1ea1787745
@ -60,8 +60,7 @@ TEST_SUBMODULE(class_sh_property_non_owning, m) {
|
||||
.def_readwrite("core_fld_shared_ptr_rw", &DataField::core_fld_shared_ptr)
|
||||
.def_readonly("core_fld_raw_ptr_ro", &DataField::core_fld_raw_ptr)
|
||||
.def_readwrite("core_fld_raw_ptr_rw", &DataField::core_fld_raw_ptr)
|
||||
// BAKEIN_BREAK .def_readwrite("core_fld_unique_ptr_rw", &DataField::core_fld_unique_ptr)
|
||||
;
|
||||
.def_readwrite("core_fld_unique_ptr_rw", &DataField::core_fld_unique_ptr);
|
||||
|
||||
py::classh<DataFieldsHolder>(m, "DataFieldsHolder")
|
||||
.def(py::init<std::size_t>())
|
||||
|
@ -15,7 +15,7 @@ from pybind11_tests import class_sh_property_non_owning as m
|
||||
("core_fld_shared_ptr_rw", (14, 25)),
|
||||
("core_fld_raw_ptr_ro", (14, 25)),
|
||||
("core_fld_raw_ptr_rw", (14, 25)),
|
||||
# BAKEIN_BREAK ("core_fld_unique_ptr_rw", (15, 26)),
|
||||
("core_fld_unique_ptr_rw", (15, 26)),
|
||||
],
|
||||
)
|
||||
def test_core_fld_common(core_fld, expected, persistent_holder):
|
||||
|
Loading…
Reference in New Issue
Block a user