__ne__ of dict return NotImplemented by HyeockJinKim · Pull Request #109 · go-python/gpython
Repository navigation
__ne__ of dict return NotImplemented - #109
Merged
ncw merged 2 commits into go-python:master from HyeockJinKim:issue108 Oct 8, 2019
Merged
__ne__ of dict return NotImplemented #109 ncw merged 2 commits into go-python:master from HyeockJinKim:issue108
Conversation
HyeockJinKim commented Sep 30, 2019
Copy link Copy Markdown
Contributor
if type of other is not dict,
return NotImplemented
Fixes #108
__ne__ of dict return NotImplemented
9b364b3
if type of other is not dict, return NotImplemented Fixes go-python#108
codecov-io commented Sep 30, 2019 · edited Loading
Copy link Copy Markdown
Codecov Report
@@ Coverage Diff @@ ## master #109 +/- ## ========================================== + Coverage 69.92% 70.02% +0.09% ========================================== Files 60 60 Lines 10819 10821 +2 ========================================== + Hits 7565 7577 +12 + Misses 2729 2718 -11 - Partials 525 526 +1
Continue to review full report at Codecov .
|
HyeockJinKim commented Sep 30, 2019
Copy link Copy Markdown
Contributor
Author
|
@corona10 |
View reviewed changes
ncw left a comment
Copy link Copy Markdown
Collaborator
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more .
I think the code looks great! I have a minor quibble with a comment so if you could fix that then I'll merge - thank you :-)
Comment thread py/tests/dict.pyOutdated
| assert a.__eq__(3) != True | ||
| assert a.__ne__(3) != False | ||
| assert a.__ne__(3) != True | ||
| assert a.__ne__(3) != False # This part should be changed in comparison with NotImplemented |
Add tests for dict.__ne__ and dict.__eq__
fb48d32
HyeockJinKim
force-pushed
the
issue108
branch
from
76cc82a to
fb48d32
Compare
October 1, 2019 10:51 ncw approved these changes Oct 8, 2019
View reviewed changes
ncw commented Oct 8, 2019
Copy link Copy Markdown
Collaborator
|
Thank you :-) We can think about more abstraction in a later PR if we want. I'll merge this now. |
60e853c
into
go-python : master
Oct 8, 2019
Sign up for free
to join this conversation on GitHub .
Already have an account?
Sign in to comment