From fa52dbcf8480ce10a976a14af028038bc0d4b1b3 Mon Sep 17 00:00:00 2001 From: Ana Maria Martinez Gomez Date: Tue, 6 Apr 2021 21:53:22 +0200 Subject: [PATCH] ci: skip smda tests in win32 Due to a bug, two `test_smda_features` tests are failing: https://github.com/danielplohmann/smda/issues/20 Disable them until the bug is fixed. --- tests/test_smda_features.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_smda_features.py b/tests/test_smda_features.py index 68790f8d..8d229d25 100644 --- a/tests/test_smda_features.py +++ b/tests/test_smda_features.py @@ -15,9 +15,10 @@ from fixtures import * FEATURE_PRESENCE_TESTS, indirect=["sample", "scope"], ) +@pytest.mark.xfail(sys.version_info < (3, 0), reason="SMDA only works on py3") +@pytest.mark.xfail(sys.platform == "win32", reason="SMDA bug: https://github.com/danielplohmann/smda/issues/20") def test_smda_features(sample, scope, feature, expected): - with xfail(sys.version_info < (3, 0), reason="SMDA only works on py3"): - do_test_feature_presence(get_smda_extractor, sample, scope, feature, expected) + do_test_feature_presence(get_smda_extractor, sample, scope, feature, expected) @parametrize(