add test for typing_extensions.Self (#17995)

Using `typing_extensions.Self` already worked, but we were lacking a
test for it.
This commit is contained in:
Carl Meyer 2025-05-09 13:29:13 -07:00 committed by GitHub
parent 882a1a702e
commit fd1eb3d801
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 2 deletions

View file

@ -86,8 +86,7 @@ pub enum KnownInstanceType<'db> {
/// The symbol `typing.Callable`
/// (which can also be found as `typing_extensions.Callable` or as `collections.abc.Callable`)
Callable,
/// The symbol `typing.Self`
/// The symbol `typing.Self` (which can also be found as `typing_extensions.Self`)
TypingSelf,
// Various special forms, special aliases and type qualifiers that we don't yet understand