Skip to content

Commit

Permalink
Remove overlooked BAKEIN_BREAK in test_class_sh_property_non_owning.c…
Browse files Browse the repository at this point in the history
…pp,py (tests pass without any further changes).
  • Loading branch information
rwgk committed Jul 19, 2024
1 parent 6d8952a commit 1ea1787
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions tests/test_class_sh_property_non_owning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>())
Expand Down
2 changes: 1 addition & 1 deletion tests/test_class_sh_property_non_owning.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
("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):
Expand Down

0 comments on commit 1ea1787

Please sign in to comment.