Feature or enhancement
Proposal:
The existing test suite for annotationlib is good, but there is still a decent amount of line/branch coverage missing. coverage.py reports 75% coverage, but this is mostly the library is already imported somewhere in coverage.py, so all global statements are marked as 'missing'.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
Feature or enhancement
Proposal:
The existing test suite for annotationlib is good, but there is still a decent amount of line/branch coverage missing.
coverage.pyreports 75% coverage, but this is mostly the library is already imported somewhere incoverage.py, so all global statements are marked as 'missing'.Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
ForwardReftest coverage #141175annotationlib.call_annotate_function()test coverage #141176annotationlib._Stringifiertest coverage #141220annotationlib.get_annotations()test coverage #141286annotationlib.get_annotations()test coverage (GH-141286) #141353ForwardReftest coverage (GH-141175) #141354annotationlib.call_annotate_function()test coverage (GH-141176) #141355annotationlib._Stringifiertest coverage (GH-141220) #141358type_repr()ofTemplatewith invalid syntax inInterpolation#155661get_annotations()on wrapped cyclicalfunctools.partial#155663ForwardRef#155689ForwardRef(GH-155689) #155707ForwardRef(GH-155689) #155708get_annotations()on wrapped cyclicalfunctools.partial(GH-155663) #155709get_annotations()on wrapped cyclicalfunctools.partial(GH-155663) #155710type_repr()ofTemplatewith invalid syntax inInterpolation(GH-155661) #155711type_repr()ofTemplatewith invalid syntax inInterpolation(GH-155661) #155712