Skip to content

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