From ac055a41fc464a5081258bb73bccbe43a2b10df9 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Sun, 7 Jul 2024 13:04:41 -0700 Subject: [PATCH] Add `BAKEIN_BREAK` in test_class_sh_property_non_owning.cpp,py --- tests/test_class_sh_property_non_owning.cpp | 3 ++- tests/test_class_sh_property_non_owning.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_class_sh_property_non_owning.cpp b/tests/test_class_sh_property_non_owning.cpp index cd7fc5c60..5591fa96c 100644 --- a/tests/test_class_sh_property_non_owning.cpp +++ b/tests/test_class_sh_property_non_owning.cpp @@ -60,7 +60,8 @@ 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) - .def_readwrite("core_fld_unique_ptr_rw", &DataField::core_fld_unique_ptr); + // BAKEIN_BREAK .def_readwrite("core_fld_unique_ptr_rw", &DataField::core_fld_unique_ptr) + ; py::classh(m, "DataFieldsHolder") .def(py::init()) diff --git a/tests/test_class_sh_property_non_owning.py b/tests/test_class_sh_property_non_owning.py index 33a9d4503..7e38684a7 100644 --- a/tests/test_class_sh_property_non_owning.py +++ b/tests/test_class_sh_property_non_owning.py @@ -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)), - ("core_fld_unique_ptr_rw", (15, 26)), + # BAKEIN_BREAK ("core_fld_unique_ptr_rw", (15, 26)), ], ) def test_core_fld_common(core_fld, expected, persistent_holder):