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 ignore_fields_for_comparison() context manager #115

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

yunzheng
Copy link
Member

@yunzheng yunzheng commented Apr 5, 2024

It behaves the same as set_ignored_fields_for_comparison() but only for the duration of the context manager.

It behaves the same as set_ignored_fields_for_comparison() but only for
the duration of the context manager.
@codecov-commenter
Copy link

codecov-commenter commented Apr 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.51%. Comparing base (256733d) to head (19566d2).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #115      +/-   ##
==========================================
+ Coverage   80.41%   80.51%   +0.09%     
==========================================
  Files          34       34              
  Lines        3171     3182      +11     
==========================================
+ Hits         2550     2562      +12     
+ Misses        621      620       -1     
Flag Coverage Δ
unittests 80.51% <100.00%> (+0.09%) ⬆️

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.

@yunzheng yunzheng merged commit 5b9e62a into main Apr 5, 2024
18 checks passed
@yunzheng yunzheng deleted the feature/ignore_fields_for_comparison_contextmanager branch April 5, 2024 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants