Skip to content

Conversation

@jakkdl
Copy link
Member

@jakkdl jakkdl commented Nov 2, 2023

When writing #2820 I noticed the bad shape of _fake_net. While it's only for internal use, and unclear if it's ever going to be added to the public API, I figured it'd be worth cleaning it up a bit and fix coverage so as not to drag everything else down.

@codecov
Copy link

codecov bot commented Nov 2, 2023

Codecov Report

Merging #2852 (0050849) into master (44f7f2d) will increase coverage by 0.33%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2852      +/-   ##
==========================================
+ Coverage   99.18%   99.51%   +0.33%     
==========================================
  Files         115      115              
  Lines       17551    17683     +132     
  Branches     3149     3172      +23     
==========================================
+ Hits        17408    17598     +190     
+ Misses         99       56      -43     
+ Partials       44       29      -15     
Files Coverage Δ
src/trio/_tests/test_fakenet.py 100.00% <100.00%> (ø)
src/trio/testing/_fake_net.py 100.00% <100.00%> (+22.74%) ⬆️

Copy link
Member

@CoolCat467 CoolCat467 left a comment

Choose a reason for hiding this comment

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

This all makes sense, I approve.

@jakkdl jakkdl merged commit d5c0fb8 into python-trio:master Nov 14, 2023
@jakkdl jakkdl deleted the test_fake_net branch November 14, 2023 11:23
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.

3 participants