| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Codecov Report
@@ Coverage Diff @@
## master #59 +/- ##
==========================================
+ Coverage 67.94% 68.38% +0.44%
==========================================
Files 59 59
Lines 10378 10435 +57
==========================================
+ Hits 7051 7136 +85
+ Misses 2828 2794 -34
- Partials 499 505 +6
Continue to review full report at Codecov.
|
Sorry, something went wrong.
There was a problem hiding this comment.
thanks for tackling this.
could you also add a test exercizing this new feature?
thanks!
Sorry, something went wrong.
|
According to the coverage report your test doesn't hit your added code? |
Sorry, something went wrong.
|
The code is covered in py/tests/dict.py line 17, but the system doesn't seem to recognize that. |
Sorry, something went wrong.
There was a problem hiding this comment.
That is looking good! Can you just sharpen the test slightly and I'll merge - thanks :-)
Sorry, something went wrong.
|
|
||
| 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
Sorry, something went wrong.
There was a problem hiding this comment.
This should be fixed now
Sorry, something went wrong.
|
That looks great now thank you! I see you added an items method too :-) Will merge now. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Addresses #58