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

Add tests to have full code coverage of the function _viewbaseset_richcmp #928

Merged
merged 6 commits into from
Feb 3, 2024

Conversation

skinnyBat
Copy link
Contributor

@skinnyBat skinnyBat commented Jan 20, 2024

What do these changes do?

Add tests to improve the code coverage of _multidict_base_py, by fully covering the _viewbaseset_richcmp function.

Are there changes in behavior for the user?

None

Related issue number

Partially addresses #921.

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes

tests/test_multidict.py Outdated Show resolved Hide resolved
tests/test_multidict.py Outdated Show resolved Hide resolved
Copy link

codecov bot commented Jan 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7e8f02a) 96.99% compared to head (027e579) 98.02%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #928      +/-   ##
==========================================
+ Coverage   96.99%   98.02%   +1.03%     
==========================================
  Files          20       20              
  Lines        2227     2280      +53     
  Branches      199      199              
==========================================
+ Hits         2160     2235      +75     
+ Misses         53       36      -17     
+ Partials       14        9       -5     
Flag Coverage Δ
CI-GHA 98.02% <100.00%> (+1.03%) ⬆️
MyPy 81.76% <100.00%> (+0.52%) ⬆️
unit 98.92% <100.00%> (+1.11%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@psf-chronographer psf-chronographer bot added the bot:chronographer:provided There is a change note present in this PR label Jan 28, 2024
CHANGES/928.contrib.rst Outdated Show resolved Hide resolved
tests/test_multidict.py Outdated Show resolved Hide resolved
skinnyBat and others added 3 commits February 2, 2024 20:46
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
@skinnyBat skinnyBat force-pushed the fully_cover_viewbaseset_richcmp branch from bcbaf36 to 353d191 Compare February 2, 2024 07:46
setup.cfg Outdated Show resolved Hide resolved
@webknjaz webknjaz merged commit f41d66f into aio-libs:master Feb 3, 2024
49 of 52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot:chronographer:provided There is a change note present in this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants