-
Notifications
You must be signed in to change notification settings - Fork 22
add array.array to comparator #195
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
Conversation
PR Reviewer Guide 🔍(Review updated until commit 4b41d14)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 4b41d14
Previous suggestionsSuggestions up to commit b2130ed
|
|
Persistent review updated to latest commit 4b41d14 |
codeflash/verification/comparator.py
Outdated
| if not isinstance(new, array.array): | ||
| return False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| if not isinstance(new, array.array): | |
| return False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approving, just change one line in the comme
PR Type
Enhancement, Tests
Description
Add array.array support to comparator.
Include typecode and length checks.
Add element-wise recursive comparison.
Add tests for equality and mismatches.
Changes walkthrough 📝
comparator.py
Implement array.array comparisoncodeflash/verification/comparator.py
arraymodule.array.arrayhandling incomparator.test_comparator.py
Add array.array comparator teststests/test_comparator.py
arrayin test file.array.array.