Sync vendored typeshed stubs (#14977)

Co-authored-by: typeshedbot <>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
This commit is contained in:
github-actions[bot] 2024-12-15 01:02:41 +00:00 committed by GitHub
parent 4d64cdb83c
commit 53c7ef8bfe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 584 additions and 299 deletions

View file

@ -5672,9 +5672,9 @@ mod tests {
fn builtin_symbol_vendored_stdlib() -> anyhow::Result<()> {
let mut db = setup_db();
db.write_file("/src/a.py", "c = copyright")?;
db.write_file("/src/a.py", "c = chr")?;
assert_public_ty(&db, "/src/a.py", "c", "Literal[copyright]");
assert_public_ty(&db, "/src/a.py", "c", "Literal[chr]");
Ok(())
}