]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] typing: Add more tests for TypeVar (GH-104571) (#104577)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Wed, 17 May 2023 13:40:34 +0000 (06:40 -0700)
committerGitHub <noreply@github.com>
Wed, 17 May 2023 13:40:34 +0000 (13:40 +0000)
commitf106aef24a2bc968944c89290b12d68648e365bb
treebe486353a3bfa0e596159c2a8aaa25ff8b1369e6
parent133bf0927e9cb07d4a5a3ca31791ce18da22707b
[3.11] typing: Add more tests for TypeVar (GH-104571) (#104577)

During the PEP 695 implementation at one point I made
TypeVar.__name__ return garbage, and all of test_typing passed.
So I decided to add a few more tests.
(cherry picked from commit 26931944dd8abd6554249239344fa62b789b9028)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Lib/test/test_typing.py