Conversation
Codecov Report
Continue to review full report at Codecov.
|
sbinet
left a comment
There was a problem hiding this comment.
thanks for tackling this.
could you also add a test exercizing this new feature?
thanks!
|
According to the coverage report your test doesn't hit your added code? |
|
The code is covered in |
ncw
left a comment
There was a problem hiding this comment.
That is looking good! Can you just sharpen the test slightly and I'll merge - thanks :-)
py/tests/dict.py
Outdated
|
|
||
| doc="check __iter__" | ||
| a = {"a":"b","c":5.5} | ||
| assert "a" in a |
There was a problem hiding this comment.
Strictly speaking this test will no longer work when we implement the __contains__ method for dict.
Do can you change it to something like
l = list(iter(a))
assert "a" in l
assert "c" in l
assert len(l) == 2
There was a problem hiding this comment.
This should be fixed now
|
That looks great now thank you! I see you added an items method too :-) Will merge now. |
Addresses #58