Skip to content

Comments

Fix doctest for get_protocol_members#680

Merged
JelleZijlstra merged 3 commits intopython:mainfrom
JanEricNitschke:fix-get-protocol-members-doctest
Sep 15, 2025
Merged

Fix doctest for get_protocol_members#680
JelleZijlstra merged 3 commits intopython:mainfrom
JanEricNitschke:fix-get-protocol-members-doctest

Conversation

@JanEricNitschke
Copy link
Contributor

@codecov
Copy link

codecov bot commented Sep 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.37%. Comparing base (9215c95) to head (9a77b15).
⚠️ Report is 1 commits behind head on main.

@@           Coverage Diff           @@
##             main     #680   +/-   ##
=======================================
  Coverage   97.36%   97.37%           
=======================================
  Files           3        3           
  Lines        7680     7684    +4     
=======================================
+ Hits         7478     7482    +4     
  Misses        202      202           
Flag Coverage Δ
3.10 89.00% <100.00%> (+<0.01%) ⬆️
3.10.4 89.00% <100.00%> (+<0.01%) ⬆️
3.11 88.23% <100.00%> (?)
3.11.0 87.46% <100.00%> (+<0.01%) ⬆️
3.12 88.18% <100.00%> (+<0.01%) ⬆️
3.12.0 88.16% <100.00%> (+<0.01%) ⬆️
3.13 82.40% <100.00%> (?)
3.13.0 82.40% <100.00%> (+<0.01%) ⬆️
3.14 78.84% <100.00%> (+0.01%) ⬆️
3.9 89.71% <100.00%> (+<0.01%) ⬆️
3.9.12 89.71% <100.00%> (+<0.01%) ⬆️
pypy3.10 88.83% <100.00%> (+<0.01%) ⬆️
pypy3.11 88.09% <100.00%> (+<0.01%) ⬆️
pypy3.9 89.54% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/test_typing_extensions.py 98.39% <100.00%> (+<0.01%) ⬆️
src/typing_extensions.py 93.88% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@AlexWaygood
Copy link
Member

Cpython runs these doctests in CI but I'm not sure we do — might be worth it for us to do the same?

@JanEricNitschke
Copy link
Contributor Author

Cpython runs these doctests in CI but I'm not sure we do — might be worth it for us to do the same?

Done

@JelleZijlstra JelleZijlstra merged commit 64a6cad into python:main Sep 15, 2025
24 checks passed
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