Skip to content

test: test the virtual array generator before calling .shape in copy test#3631

Merged
ianna merged 1 commit intoscikit-hep:mainfrom
ikrommyd:fix-test
Aug 26, 2025
Merged

test: test the virtual array generator before calling .shape in copy test#3631
ianna merged 1 commit intoscikit-hep:mainfrom
ikrommyd:fix-test

Conversation

@ikrommyd
Copy link
Copy Markdown
Collaborator

As pointed out by @ariostas, the order of the recently merged PRs combined with not rebasing before merging broke a test.
This fixes it. We test the generator before calling .shape as that will call the generator if there is no shape generator and change it to assert_never.

@ikrommyd
Copy link
Copy Markdown
Collaborator Author

@ariostas this should fix it. cc @ianna

@codecov
Copy link
Copy Markdown

codecov bot commented Aug 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.54%. Comparing base (b749e49) to head (1706746).
⚠️ Report is 403 commits behind head on main.

Additional details and impacted files

see 196 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Member

@ianna ianna left a comment

Choose a reason for hiding this comment

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

@ikrommyd - thanks! Looks good.

@ianna ianna merged commit 5864321 into scikit-hep:main Aug 26, 2025
47 checks passed
@ikrommyd ikrommyd deleted the fix-test branch August 26, 2025 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants