Replace BAKEIN_BREAK with BAKEIN_EXPECTED in test_smart_ptr_from_default().

This commit is contained in:
Ralf W. Grosse-Kunstleve 2024-07-02 11:24:40 -07:00
parent f84be2e15a
commit 66a775eee9

View File

@ -298,7 +298,7 @@ def test_move_only_holder_with_addressof_operator():
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()
with pytest.raises(RuntimeError) as excinfo:
m.HeldByDefaultHolder.load_shared_ptr(instance)