Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fcf15b6

Browse filesBrowse files
jjerphanogrisel
andauthored
TST Do not test on full cartesian product
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
1 parent 1eb5b2c commit fcf15b6
Copy full SHA for fcf15b6

File tree

1 file changed

+8
-6
lines changed
Filter options

1 file changed

+8
-6
lines changed

‎sklearn/metrics/tests/test_pairwise_distances_reduction.py

Copy file name to clipboardExpand all lines: sklearn/metrics/tests/test_pairwise_distances_reduction.py
+8-6Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -787,13 +787,15 @@ def test_n_threads_agnosticism(
787787
)
788788

789789

790-
@pytest.mark.parametrize("n_samples", [100, 1000])
791-
@pytest.mark.parametrize("chunk_size", [50, 512, 1024])
792-
@pytest.mark.parametrize(
793-
"Dispatcher",
794-
[ArgKmin, RadiusNeighbors],
790+
pytest.mark.parametrize(
791+
"n_samples, chunk_size, Dispatcher, dtype",
792+
[
793+
(100, 50, ArgKmin, np.float64),
794+
(1024, 256, RadiusNeighbors, np.float32),
795+
(100, 1024, ArgKmin, np.float32),
796+
(541, 137, RadiusNeighbors, np.float64),
797+
],
795798
)
796-
@pytest.mark.parametrize("dtype", [np.float64, np.float32])
797799
def test_format_agnosticism(
798800
global_random_seed,
799801
Dispatcher,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.