FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] gh-141174: Improve `annotationlib.get_annotations()` test coverage (GH-141286) by miss-islington · Pull Request #141353 · python/cpython · GitHub

/ cpython Public

[3.14] gh-141174: Improve annotationlib.get_annotations() test coverage (GH-141286) - #141353

Merged
JelleZijlstra merged 1 commit into
python:3.14from
miss-islington:backport-06b6228-3.14
Nov 10, 2025
Merged

[3.14] gh-141174: Improve annotationlib.get_annotations() test coverage (GH-141286)#141353
JelleZijlstra merged 1 commit into
python:3.14from
miss-islington:backport-06b6228-3.14

Conversation

miss-islington commented Nov 10, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor
  • Test get_annotations(format=Format.VALUE) for stringized annotations on custom objects

  • Test get_annotations(format=Format.VALUE) for stringized annotations on wrapped partial functions

  • Update test_stringized_annotations_with_star_unpack() to actually test stringized annotations

  • Test annotate returning a non-dict

  • Test passing globals and locals to stringized get_annotations()
    (cherry picked from commit 06b6228)

Co-authored-by: dr-carlos 77367421+dr-carlos@users.noreply.github.com

…age (pythonGH-141286)

* Test `get_annotations(format=Format.VALUE)` for stringized annotations on custom objects

* Test `get_annotations(format=Format.VALUE)` for stringized annotations on wrapped partial functions

* Update test_stringized_annotations_with_star_unpack() to actually test stringized annotations

* Test __annotate__ returning a non-dict

* Test passing globals and locals to stringized `get_annotations()`
(cherry picked from commit 06b6228)

Co-authored-by: dr-carlos <77367421+dr-carlos@users.noreply.github.com>
bedevere-app Bot added awaiting review tests Tests in the Lib/test dir labels Nov 10, 2025
JelleZijlstra enabled auto-merge (squash) November 10, 2025 14:46
JelleZijlstra merged commit 9221030 into python:3.14 Nov 10, 2025
51 checks passed
miss-islington deleted the backport-06b6228-3.14 branch January 2, 2026 16:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL