-
Notifications
You must be signed in to change notification settings - Fork 6
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
Tests for binascii #18
Tests for binascii #18
Conversation
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.
Nice work @akash-suresh!
Cross-reference: HypothesisWorks/hypothesis#2430 |
Hey @Zac-HD! I have made changes, based on the comments. |
import binascii
binascii.crc_hqx(b"", 2 ** 63) fails (only) on PyPy, with @cfbolz might be able to help us diagnose this? |
@Zac-HD nice catch! yes, will look into it! |
yep, fixed (an unsigned vs signed int issue, also a change from py2->py3). here's the commit: https://foss.heptapod.net/pypy/pypy/commit/7b826e1a27677daa643bfa4535daafecc4526335 |
@cfbolz, impressively fast! We do have https://github.com/Zac-HD/stdlib-property-tests#trophy-case - is there a canonical link to point to for this, or should the new entry just point to this thread and commit link? |
0a15ee8
to
966559d
Compare
@Zac-HD I'd just point to the commit link - we don't track all changes as issues or anything like that. |
I have added tests for the
binascii
module. Let me know if there are any corrections needed.