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

fix(when): ensure then_enter_with accepts None #137

Merged
merged 3 commits into from
Jun 5, 2022
Merged

Conversation

mcous
Copy link
Owner

@mcous mcous commented Jun 4, 2022

Fixes #135

@codecov
Copy link

codecov bot commented Jun 4, 2022

Codecov Report

Merging #137 (78e789c) into main (c23d145) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #137   +/-   ##
=======================================
  Coverage   98.29%   98.30%           
=======================================
  Files          19       19           
  Lines         705      709    +4     
  Branches      120      121    +1     
=======================================
+ Hits          693      697    +4     
  Misses         10       10           
  Partials        2        2           
Impacted Files Coverage Δ
decoy/call_handler.py 100.00% <100.00%> (ø)
decoy/stub_store.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c23d145...78e789c. Read the comment docs.

@mcous mcous merged commit 864aad7 into main Jun 5, 2022
@mcous mcous deleted the fix-then-enter-with-none branch June 5, 2022 07:26
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.

then_enter_with(None) makes the stub return None instead of an enterable context manager
1 participant