From c4530135837107321c25dbb257a2cb55820eb19e Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Sun, 7 Jul 2024 10:25:24 -0700 Subject: [PATCH] Move `pytest.skip("BAKEIN_BREAK: ...)` in test_class_sh_shared_ptr_copy_move.py to top level (still appears to fail on ~17 platforms). --- tests/test_class_sh_shared_ptr_copy_move.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_class_sh_shared_ptr_copy_move.py b/tests/test_class_sh_shared_ptr_copy_move.py index 20136ffbc..cfefe9fde 100644 --- a/tests/test_class_sh_shared_ptr_copy_move.py +++ b/tests/test_class_sh_shared_ptr_copy_move.py @@ -4,6 +4,10 @@ import pytest from pybind11_tests import class_sh_shared_ptr_copy_move as m +pytest.skip( + "BAKEIN_BREAK: Windows fatal exception: access violation", allow_module_level=True +) + def test_shptr_copy(): txt = m.test_ShPtr_copy()[0].get_history() @@ -37,7 +41,6 @@ def _check_property(foo_typ, prop_typ, policy): def test_properties(): - pytest.skip("BAKEIN_BREAK: Windows fatal exception: access violation") for prop_typ in ("readonly", "readwrite", "property_readonly"): for foo_typ in ("ShPtr", "SmHld"): for policy in ("default", "copy", "move"):