From da64742956d05006b3ea96196ace319cc037afb8 Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Wed, 14 Feb 2024 18:49:49 -0700 Subject: [PATCH] Use short_shapes for chunk_shapes The ndindices strategy requires short_shapes, or else it does not generate useful boolean array indices very often. --- ndindex/tests/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ndindex/tests/helpers.py b/ndindex/tests/helpers.py index 1cceaff9..958ffca4 100644 --- a/ndindex/tests/helpers.py +++ b/ndindex/tests/helpers.py @@ -483,7 +483,7 @@ def iterslice(start_range=(-10, 10), yield (start, stop, step) -chunk_shapes = shared(shapes) +chunk_shapes = short_shapes @composite def chunk_sizes(draw, shapes=chunk_shapes):