Closed github-actions[bot] closed 3 months ago
Hmm, those imports succeed on Linux, but fail on Mac/Windows. It'll need to use a # type: ignore[attr-defined, unused-ignore]
comment to allow all those cases, or ideally figure out how to tell Mypy those lines won't run on non-Linux platforms. The if
statement should be doing that, not sure why it isn't.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Additional details and impacted files
```diff @@ Coverage Diff @@ ## master #2978 +/- ## ======================================= Coverage 99.64% 99.64% ======================================= Files 117 117 Lines 17594 17594 Branches 3171 3171 ======================================= Hits 17532 17532 Misses 43 43 Partials 19 19 ``` | [Files](https://app.codecov.io/gh/python-trio/trio/pull/2978?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-trio) | Coverage Δ | | |---|---|---| | [src/trio/\_socket.py](https://app.codecov.io/gh/python-trio/trio/pull/2978?src=pr&el=tree&filepath=src%2Ftrio%2F_socket.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-trio#diff-c3JjL3RyaW8vX3NvY2tldC5weQ==) | `100.00% <100.00%> (ø)` | |