Skip to content
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

Fix (in)equality tests #231

Merged
merged 3 commits into from
Dec 10, 2020
Merged

Conversation

tomato42
Copy link
Member

fixes #227
on python2 __ne__ needs to be implemented for every __eq__ defined, otherwise assertNotEqual and reflection doesn't work

on python3 it works fine but on python2 __ne__ need to be implemented
so that test work as expected

few of the __eq__ methods had incorrect docstrings so fix them by the way
@tomato42 tomato42 added the bug unintended behaviour in ecdsa code label Dec 10, 2020
@tomato42 tomato42 self-assigned this Dec 10, 2020
@tomato42 tomato42 added this to the v0.17.0 milestone Dec 10, 2020
@tomato42 tomato42 merged commit 24afc18 into tlsfuzzer:master Dec 10, 2020
@tomato42 tomato42 deleted the fix_equality_tests branch December 10, 2020 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unintended behaviour in ecdsa code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing __ne__ magic methods
1 participant