mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 21:35:58 +00:00
Sync vendored typeshed stubs (#14977)
Co-authored-by: typeshedbot <> Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
This commit is contained in:
parent
4d64cdb83c
commit
53c7ef8bfe
38 changed files with 584 additions and 299 deletions
|
@ -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(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue