[New-bugs-announce] [issue46424] `typing.Annotated` one type argument usage is not covered in tests
Nikita Sobolev
report at bugs.python.org
Tue Jan 18 08:32:17 EST 2022
New submission from Nikita Sobolev <mail at sobolevn.me>:
This condition is not covered: https://github.com/python/cpython/blob/bdf2ab1887a2edfb089a3c2a1590cf1e84ea0048/Lib/typing.py#L1674-L1677
I propose to add a test for it, because `Annotated[int]` is invalid.
PR is on its way :)
----------
components: Tests
messages: 410862
nosy: kj, sobolevn
priority: normal
severity: normal
status: open
title: `typing.Annotated` one type argument usage is not covered in tests
type: behavior
versions: Python 3.11
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46424>
_______________________________________
More information about the New-bugs-announce
mailing list