| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
What about frozendict views?
Sorry, something went wrong.
|
frozendict views are standard dict views. |
Sorry, something went wrong.
Co-authored-by: devdanzin <74280297+devdanzin@users.noreply.github.com>
|
I completed the PR. Please review again.
I added multiple tests on keys(), values() and items(). |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM if all new code is covered by tests.
Sorry, something went wrong.
| return "{%s}" % ", ".join(components), readable, recursive | ||
| rep = "{%s}" % ", ".join(components) | ||
| if is_frozendict: | ||
| rep = f"{object.__class__.__name__}({rep})" |
There was a problem hiding this comment.
Is it covered by tests?
Sorry, something went wrong.
There was a problem hiding this comment.
This line is coverted by test_basic_line_wrap() and test_same_as_repr() tests. If I modify the code to raise an exception, both tests fail.
Sorry, something went wrong.
|
Merged. Thanks for reviews! Thanks for your contribution @devdanzin! |
Sorry, something went wrong.
Co-authored-by: devdanzin <74280297+devdanzin@users.noreply.github.com>
Co-authored-by: devdanzin <74280297+devdanzin@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.