Skip to content

Conversation

@sean-anderson-seco
Copy link
Contributor

Entering the contextlib.closing context manager returns its argument, not an instance of contextlib.closing itself.

Entering the `contextlib.closing` context manager returns its argument, not an instance of `contextlib.closing` itself.
@maxfischer2781 maxfischer2781 self-requested a review March 1, 2025 14:35
Copy link
Owner

@maxfischer2781 maxfischer2781 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for spotting this!

@maxfischer2781 maxfischer2781 merged commit 21bafdb into maxfischer2781:master Mar 3, 2025
11 checks passed
@codecov
Copy link

codecov bot commented Mar 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (77a16f6) to head (a81c0d9).
Report is 118 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##           master   #172       +/-   ##
=========================================
- Coverage   99.09%      0   -99.10%     
=========================================
  Files          20      0       -20     
  Lines        2097      0     -2097     
  Branches      556      0      -556     
=========================================
- Hits         2078      0     -2078     
+ Misses         11      0       -11     
+ Partials        8      0        -8     

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

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.

2 participants