test: add a no-raise property-test module for ak.any - #4314
Open
TaiSakuma wants to merge 1 commit into
Open
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
ak.any
|
The documentation preview is ready to be viewed at http://preview.awkward-array.org.s3-website.us-east-1.amazonaws.com/PR4314 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
tests/properties/operations/test_any.py, extending the no-raise property-test family toak.any.ak.anyhas the same signature asak.alland raises identically on every probed case behindtest_all.py's predicates (records at any axis, unions, axis beyond depth, strings,keepdims/mask_identitycombinations), on both the development tree and released 2.13.0, so the module is a copy oftest_all.pywith the operation substituted; the design predicate and its rules carry over unchanged.Known-issue clauses:
has_issue_4259unconditionally (#4259 affects every reducer exceptak.count) andhas_issue_4264under an integeraxis(#4264 namesak.anyas 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 wholetests/properties/operationsdirectory passes at the default profile.🤖 Generated with Claude Code