SIGN IN SIGN UP

gh-141174: Improve `annotationlib.get_annotations()` test coverage (#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()`
D
dr-carlos committed
06b62282c79dd69293a3eefb4c55f5acc6312cb2
Parent: 12837c6
Committed by GitHub <noreply@github.com> on 11/10/2025, 2:45:22 PM