-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-14322: added test case for invalid update to hmac #26636
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
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.
Did we have to create a new test class with just one test?
Why do I think this test could live under class TestVectorsTestCase
, there seem to be many cases exercising update
or am I missing something?
@nanjekyejoannah There are indeed other tests testing the update function, but I'm adding a test to check if there is an Error raised for invalid inputs to the function (i.e. anything other than |
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.
I suggest you comment on bpo, to solicit ideas from others on a better place, I may also be eluded.
This PR is stale because it has been open for 30 days with no activity. |
I think a new test case is fine, Let's re-open, update and retest. |
Thanks @CCLDArjun for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
(cherry picked from commit 6550b54) Co-authored-by: Arjun <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
Thank you for the PR! |
GH-115904 is a backport of this pull request to the 3.12 branch. |
(cherry picked from commit 6550b54) Co-authored-by: Arjun <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
GH-115905 is a backport of this pull request to the 3.11 branch. |
… (#115904) Co-authored-by: Arjun <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
… (#115905) Co-authored-by: Arjun <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
https://bugs.python.org/issue14322