mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-19 09:25:51 +00:00
test_class_sh_property.py test_valu_getter()
works without any further changes.
This commit is contained in:
parent
048e36df40
commit
0b14d5bce9
@ -16,7 +16,6 @@ def test_valu_getter(m_attr):
|
||||
outer = m.Outer()
|
||||
field = getattr(outer, m_attr)
|
||||
assert field.num == -99
|
||||
pytest.skip("BAKEIN_BREAK: Failed: DID NOT RAISE <class 'ValueError'>")
|
||||
with pytest.raises(ValueError) as excinfo:
|
||||
m.DisownOuter(outer)
|
||||
assert str(excinfo.value) == "Cannot disown use_count != 1 (loaded_as_unique_ptr)."
|
||||
|
Loading…
Reference in New Issue
Block a user