mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-29 08:32:02 +00:00
Replace BAKEIN_BREAK with BAKEIN_EXPECTED in test_smart_ptr_from_default().
This commit is contained in:
parent
f84be2e15a
commit
66a775eee9
@ -298,7 +298,7 @@ def test_move_only_holder_with_addressof_operator():
|
|||||||
|
|
||||||
|
|
||||||
def test_smart_ptr_from_default():
|
def test_smart_ptr_from_default():
|
||||||
pytest.skip("BAKEIN_BREAK: Failed: DID NOT RAISE <class 'RuntimeError'>")
|
pytest.skip("BAKEIN_EXPECTED: Failed: DID NOT RAISE <class 'RuntimeError'>")
|
||||||
instance = m.HeldByDefaultHolder()
|
instance = m.HeldByDefaultHolder()
|
||||||
with pytest.raises(RuntimeError) as excinfo:
|
with pytest.raises(RuntimeError) as excinfo:
|
||||||
m.HeldByDefaultHolder.load_shared_ptr(instance)
|
m.HeldByDefaultHolder.load_shared_ptr(instance)
|
||||||
|
Loading…
Reference in New Issue
Block a user