Skip to content

test: add a no-raise property-test module for ak.any - #4314

Open
TaiSakuma wants to merge 1 commit into
scikit-hep:mainfrom
TaiSakuma:test-any-module
Open

test: add a no-raise property-test module for ak.any#4314
TaiSakuma wants to merge 1 commit into
scikit-hep:mainfrom
TaiSakuma:test-any-module

Conversation

@TaiSakuma

Copy link
Copy Markdown
Member

Adds tests/properties/operations/test_any.py, extending the no-raise property-test family to ak.any. ak.any has the same signature as ak.all and raises identically on every probed case behind test_all.py's predicates (records at any axis, unions, axis beyond depth, strings, keepdims/mask_identity combinations), on both the development tree and released 2.13.0, so the module is a copy of test_all.py with the operation substituted; the design predicate and its rules carry over unchanged.

Known-issue clauses: has_issue_4259 unconditionally (#4259 affects every reducer except ak.count) and has_issue_4264 under an integer axis (#4264 names ak.any as affected).

The package docstring's module list gains test_any.py.

Verified: the module passes the default profile and HYPOTHESIS_PROFILE=nightly (10,000 examples per test), and the whole tests/properties/operations directory passes at the default profile.

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions github-actions Bot added the type/test PR title type: test (set automatically) label Aug 21, 2026
@TaiSakuma TaiSakuma changed the title test: add a no-raise property-test module for ak.any test: add a no-raise property-test module for ak.any Aug 21, 2026
@codecov

codecov Bot commented Aug 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.41%. Comparing base (6062e76) to head (0d20250).

Additional details and impacted files

see 2 files with indirect coverage changes

@github-actions

Copy link
Copy Markdown

The documentation preview is ready to be viewed at http://preview.awkward-array.org.s3-website.us-east-1.amazonaws.com/PR4314

@TaiSakuma
TaiSakuma requested review from ariostas and ianna August 21, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/test PR title type: test (set automatically)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant