8000 Use LOKY_MAX_CPU_COUNT and python -m pytest · scikit-learn/scikit-learn@60700ce · GitHub
[go: up one dir, main page]

Skip to content

Commit 60700ce

Browse files
committed
Use LOKY_MAX_CPU_COUNT and python -m pytest
1 parent c14542c commit 60700ce

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

build_tools/circle/build_test_pypy.sh

+5-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@ pip install "scipy>=1.1.0" sphinx numpydoc docutils pytest-xdist
2323

2424
ccache -M 512M
2525
export CCACHE_COMPRESS=1
26-
export PATH=/usr/lib/ccache:$PATH
26+
expor PATH=/usr/lib/ccache:$PATH
27+
export LOKY_MAX_CPU_COUNT="2"
2728

2829
pip install -vv -e .
2930

30-
pytest -n 1 sklearn/
31-
make test-sphinxext test-doc
31+
python -m pytest -n 1 sklearn/
32+
python -m pytest doc/sphinxext/
33+
python -m pytest $(find doc -name '*.rst' | sort)

sklearn/tests/test_multioutput.py

-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ def test_multi_target_sample_weights():
163163
classes = list(map(np.unique, (y1, y2, y3)))
164164

165165

166-
@fails_if_pypy # FIXME
167166
def test_multi_output_classification_partial_fit_parallelism():
168167
sgd_linear_clf = SGDClassifier(loss='log', random_state=1, max_iter=5)
169168
mor = MultiOutputClassifier(sgd_linear_clf, n_jobs=-1)

0 commit comments

Comments
 (0)
0