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 instancemethod comparisons #1387

Merged
merged 2 commits into from
Oct 19, 2016
Merged

Fix instancemethod comparisons #1387

merged 2 commits into from
Oct 19, 2016

Conversation

kmod
Copy link
Collaborator

@kmod kmod commented Oct 12, 2016

We had implemented instancemethod.eq, but not any of the other comparisons,
and most importantly, not hash.

kmod added 2 commits October 11, 2016 15:56
We had implemented instancemethod.__eq__, but not any of the other comparisons,
and most importantly, not __hash__.
It was previously incorrectly succeeding: we happened to throw a
similar-enough exception that the test thought we were testing the right
thing.  Once we fixed that bug, it turned up that we didn't throw the
exception that the test is expecting.

I don't like removing tests but this isn't any worse than the current
situation of not really testing this functionality.
@kmod kmod merged commit 38ab938 into pyston:master Oct 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant