diff options
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | 2023-05-17 13:08:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 13:08:21 (GMT) |
commit | 26931944dd8abd6554249239344fa62b789b9028 (patch) | |
tree | 0fcef464cf2aead5ff482458c970e725e3e970be /Python/tracemalloc.c | |
parent | 97db2f3e07bf7d56750e215e4f32653bf3867ef8 (diff) | |
download | cpython-26931944dd8abd6554249239344fa62b789b9028.zip cpython-26931944dd8abd6554249239344fa62b789b9028.tar.gz cpython-26931944dd8abd6554249239344fa62b789b9028.tar.bz2 |
typing: Add more tests for TypeVar (#104571)
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. In the process I discovered
a minor incompatibility from the C implementation of TypeVar:
empty constraints were returned as None instead of an empty tuple.
Diffstat (limited to 'Python/tracemalloc.c')
0 files changed, 0 insertions, 0 deletions