New submission from Nikita Sobolev <m...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue46424>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to