This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: `typing.Annotation.__new__` is not covered
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: gvanrossum, kj, miss-islington, sobolevn
Priority: normal Keywords: patch

Created on 2022-01-23 07:45 by sobolevn, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 30821 merged sobolevn, 2022-01-23 07:46
PR 31044 merged miss-islington, 2022-02-01 09:59
PR 31045 merged miss-islington, 2022-02-01 09:59
Messages (5)
msg411352 - (view) Author: Nikita Sobolev (sobolevn) * (Python triager) Date: 2022-01-23 07:45
Right now no unit test covers this line: https://github.com/python/cpython/blob/51c3e28c8a163e58dc753765e3cc51d5a717e70d/Lib/typing.py#L1669-L1670

I will send a simple test for it.
msg412239 - (view) Author: Ken Jin (kj) * (Python committer) Date: 2022-02-01 09:58
New changeset 4c0612ad00ba45dbea2a86f7db6d21546cf243f8 by Nikita Sobolev in branch 'main':
bpo-46482: add a test for `typing.Annotation.__new__` (GH-30821)
https://github.com/python/cpython/commit/4c0612ad00ba45dbea2a86f7db6d21546cf243f8
msg412242 - (view) Author: miss-islington (miss-islington) Date: 2022-02-01 10:25
New changeset 2532b7c820ec2dc87b19eb322ab92b47f3c77866 by Miss Islington (bot) in branch '3.9':
[3.9] bpo-46482: add a test for `typing.Annotation.__new__` (GH-30821) (GH-31045)
https://github.com/python/cpython/commit/2532b7c820ec2dc87b19eb322ab92b47f3c77866
msg412243 - (view) Author: miss-islington (miss-islington) Date: 2022-02-01 10:27
New changeset 6a188d88c562bfd68ef3a32d148d9b234d50646e by Miss Islington (bot) in branch '3.10':
bpo-46482: add a test for `typing.Annotation.__new__` (GH-30821)
https://github.com/python/cpython/commit/6a188d88c562bfd68ef3a32d148d9b234d50646e
msg412246 - (view) Author: Nikita Sobolev (sobolevn) * (Python triager) Date: 2022-02-01 10:47
Thanks!
History
Date User Action Args
2022-04-11 14:59:55adminsetgithub: 90640
2022-02-01 10:47:00sobolevnsetstatus: open -> closed
resolution: fixed
messages: + msg412246

stage: patch review -> resolved
2022-02-01 10:27:40miss-islingtonsetmessages: + msg412243
2022-02-01 10:25:42miss-islingtonsetmessages: + msg412242
2022-02-01 09:59:07miss-islingtonsetpull_requests: + pull_request29226
2022-02-01 09:59:01miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request29225
2022-02-01 09:58:59kjsetmessages: + msg412239
2022-01-23 07:46:34sobolevnsetkeywords: + patch
stage: patch review
pull_requests: + pull_request29008
2022-01-23 07:45:30sobolevncreate