Skip to content

TST Skips test_compare_to_ELKI for arm #19115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 6, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions sklearn/cluster/tests/test_optics.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Authors: Shane Grigsby <refuge@rocktalus.com>
# Adrin Jalali <adrin.jalali@gmail.com>
# License: BSD 3 clause
import platform
import sys

import numpy as np
import pytest
Expand All @@ -15,8 +17,10 @@
from sklearn.utils._testing import assert_array_equal
from sklearn.utils._testing import assert_raise_message
from sklearn.utils._testing import assert_allclose
from sklearn.utils.fixes import sp_version, parse_version

from sklearn.cluster.tests.common import generate_clustered_data
from sklearn.utils import _IS_32BIT


rng = np.random.RandomState(0)
Expand Down Expand Up @@ -314,6 +318,11 @@ def test_processing_order():
assert_array_equal(clust.ordering_, [0, 1, 2, 3])


@pytest.mark.skipif(sp_version >= parse_version("1.6.0")
and (platform.machine() == "aarch64" or
(sys.platform == "linux" and _IS_32BIT)),
reason=("Test fails for SciPy 1.6.0 on ARM and on 32-bit "
"linux. See #19111"))
def test_compare_to_ELKI():
# Expected values, computed with (future) ELKI 0.7.5 using:
# java -jar elki.jar cli -dbc.in csv -dbc.filter FixedDBIDsFilter
Expand Down