mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 22:01:47 +00:00
Attribute panics to the mdtests that cause them (#15241)
This updates the mdtest harness to catch any panics that occur during type checking, and to display the panic message as an mdtest failure. (We don't know which specific line causes the failure, so we attribute panics to the first line of the test case.)
This commit is contained in:
parent
706d87f239
commit
75015b0ed9
7 changed files with 24 additions and 10 deletions
|
@ -10,6 +10,7 @@ pub mod diagnostic;
|
|||
pub mod display;
|
||||
pub mod file_revision;
|
||||
pub mod files;
|
||||
pub mod panic;
|
||||
pub mod parsed;
|
||||
pub mod source;
|
||||
pub mod system;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue