mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-19 17:32:37 +00:00
Remove pytest.skip("BAKEIN_BREAK: ...") in test_class_sh_mi_thunks.py (tests still fail)
This commit is contained in:
parent
4114e975d4
commit
b201eece19
@ -31,7 +31,6 @@ def test_ptrdiff_drvd_base0():
|
|||||||
)
|
)
|
||||||
def test_get_vec_size_raw_shared(get_fn, vec_size_fn):
|
def test_get_vec_size_raw_shared(get_fn, vec_size_fn):
|
||||||
obj = get_fn()
|
obj = get_fn()
|
||||||
pytest.skip("BAKEIN_BREAK: Segmentation fault")
|
|
||||||
assert vec_size_fn(obj) == 5
|
assert vec_size_fn(obj) == 5
|
||||||
|
|
||||||
|
|
||||||
@ -40,7 +39,6 @@ def test_get_vec_size_raw_shared(get_fn, vec_size_fn):
|
|||||||
)
|
)
|
||||||
def test_get_vec_size_unique(get_fn):
|
def test_get_vec_size_unique(get_fn):
|
||||||
obj = get_fn()
|
obj = get_fn()
|
||||||
pytest.skip("BAKEIN_BREAK: AssertionError")
|
|
||||||
assert m.vec_size_base0_unique_ptr(obj) == 5
|
assert m.vec_size_base0_unique_ptr(obj) == 5
|
||||||
with pytest.raises(ValueError, match="Python instance was disowned"):
|
with pytest.raises(ValueError, match="Python instance was disowned"):
|
||||||
m.vec_size_base0_unique_ptr(obj)
|
m.vec_size_base0_unique_ptr(obj)
|
||||||
@ -48,7 +46,6 @@ def test_get_vec_size_unique(get_fn):
|
|||||||
|
|
||||||
def test_get_shared_vec_size_unique():
|
def test_get_shared_vec_size_unique():
|
||||||
obj = m.get_drvd_as_base0_shared_ptr()
|
obj = m.get_drvd_as_base0_shared_ptr()
|
||||||
pytest.skip("BAKEIN_BREAK: Failed: DID NOT RAISE <class 'ValueError'>")
|
|
||||||
with pytest.raises(ValueError) as exc_info:
|
with pytest.raises(ValueError) as exc_info:
|
||||||
m.vec_size_base0_unique_ptr(obj)
|
m.vec_size_base0_unique_ptr(obj)
|
||||||
assert (
|
assert (
|
||||||
|
Loading…
Reference in New Issue
Block a user