Skip to content
New issue

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

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

Already on GitHub? # to your account

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

Closed
AlexWaygood opened this issue Oct 23, 2024 · 0 comments · Fixed by #15241
Closed
Assignees
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
@carljm carljm self-assigned this Nov 22, 2024
@dcreager dcreager assigned dcreager and unassigned carljm Jan 3, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
red-knot Multi-file analysis & type inference testing Related to testing Ruff itself
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants