Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[red-knot] mdtest doesn't tell you the path of the Markdown file if there's a panic #13899

Open
AlexWaygood opened this issue Oct 23, 2024 · 0 comments
Labels
red-knot Multi-file analysis & type inference testing Related to testing Ruff itself

Comments

@AlexWaygood
Copy link
Member

If there's a panic in an mdtest, mdtest tells you the name of the test that panicked, but not the path to the file that contains the test:

failures:

---- mdtest__call_callable_instance stdout ----
thread 'mdtest__call_callable_instance' panicked at crates/red_knot_python_semantic/src/types/infer.rs:861:18:
no entry found for key
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@AlexWaygood AlexWaygood added testing Related to testing Ruff itself red-knot Multi-file analysis & type inference labels Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
red-knot Multi-file analysis & type inference testing Related to testing Ruff itself
Projects
None yet
Development

No branches or pull requests

1 participant