Skip to content
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

Don't draw invalid shapes in test_vindex #2651

Merged
merged 4 commits into from
Jan 6, 2025

Conversation

dstansby
Copy link
Contributor

@dstansby dstansby commented Jan 5, 2025

Quite a lot of test cases were not passing the assume() here. This makes sure generated data doesn't have a size-0 dimension to start with, which should speed up the test because it's not wasting time generating data that's immediately thrown away.

@dstansby dstansby added the tests label Jan 5, 2025
@dstansby dstansby requested a review from dcherian January 5, 2025 12:25
@dstansby dstansby changed the title Don't draw invalid shapes in test_vindex Don't draw invalid shapes in test_vindex Jan 5, 2025
Copy link
Contributor

@dcherian dcherian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch!

@dstansby
Copy link
Contributor Author

dstansby commented Jan 6, 2025

pre-commit.ci autofix

@dstansby dstansby enabled auto-merge (squash) January 6, 2025 16:54
@dstansby dstansby merged commit 4d252a2 into zarr-developers:main Jan 6, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants