From 51d4961570f802b09c64411e7674a00ece682448 Mon Sep 17 00:00:00 2001 From: Heberto Mayorquin Date: Fri, 15 Nov 2024 12:25:43 -0600 Subject: [PATCH] skip on the old python and old mac --- tests/test_on_data/behavior/test_behavior_interfaces.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_on_data/behavior/test_behavior_interfaces.py b/tests/test_on_data/behavior/test_behavior_interfaces.py index 5c6dc4c5d..0b5c63376 100644 --- a/tests/test_on_data/behavior/test_behavior_interfaces.py +++ b/tests/test_on_data/behavior/test_behavior_interfaces.py @@ -390,6 +390,10 @@ def clean_pose_extension_import(): del sys.modules[module] +@pytest.mark.skipif( + platform == "darwin" and python_version < version.parse("3.10"), + reason="interface not supported on macOS with Python < 3.10", +) def test_deep_lab_cut_import_pose_extension_bug(clean_pose_extension_import, tmp_path): """ Test that the DeepLabCutInterface writes correctly without importing the ndx-pose extension.