diff --git a/crates/ty_test/src/lib.rs b/crates/ty_test/src/lib.rs index 878282235d..8b03002b20 100644 --- a/crates/ty_test/src/lib.rs +++ b/crates/ty_test/src/lib.rs @@ -241,7 +241,9 @@ fn run_test( db.write_file(&full_path, &embedded.code).unwrap(); - if !(full_path.starts_with(&src_path) && matches!(embedded.lang, "py" | "pyi")) { + if !(full_path.starts_with(&src_path) + && matches!(embedded.lang, "py" | "python" | "pyi")) + { // These files need to be written to the file system (above), but we don't run any checks on them. return None; }