8000 DOC Prefer ifskip and reference #21361 · jjerphan/scikit-learn@5ca918a · GitHub
[go: up one dir, main page]

Skip to content

Commit 5ca918a

Browse files
jjerphanogrisel
andcommitted
DOC Prefer ifskip and reference scikit-learn#21361
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
1 parent 9c46d26 commit 5ca918a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

sklearn/utils/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
check_scalar,
4343
)
4444
from .. import get_config
45+
4546
from ..utils.fixes import threadpool_info
4647

4748
# Do not deprecate parallel_backend and register_parallel_backend as they are

sklearn/utils/_testing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,9 +457,9 @@ def set_random_state(estimator, random_state=0):
457457
not joblib.parallel.mp, reason="joblib is in serial mode"
458458
)
459459

460-
fails_if_unstable_openblas = pytest.mark.xfail(
460+
fails_if_unstable_openblas = pytest.mark.skipif(
461461
_in_unstable_openblas_configuration(),
462-
reason="OpenBLAS is unstable for this configuration",
462+
reason="OpenBLAS is unstable for this configuration (#21361)",
463463
)
464464
# Decorator for tests involving both BLAS calls and multiprocessing.
465465
#

0 commit comments

Comments
 (0)
0