Skip to content

stubtest: include function name in overload assertion messages#20063

Merged
JelleZijlstra merged 1 commit intopython:masterfrom
jorenham:stubtest/report-name-in-overload-assert
Oct 14, 2025
Merged

stubtest: include function name in overload assertion messages#20063
JelleZijlstra merged 1 commit intopython:masterfrom
jorenham:stubtest/report-name-in-overload-assert

Conversation

@jorenham
Copy link
Contributor

@jorenham jorenham commented Oct 14, 2025

I just managed to cause this assertion to fail (I'll open an issue about this soon), but the traceback did not tell me where in the stubs this occurred. Knowing the full name of the relevant function would've made the debugging process a lot easier.

@JelleZijlstra JelleZijlstra merged commit 94d0d7e into python:master Oct 14, 2025
13 checks passed
@jorenham jorenham deleted the stubtest/report-name-in-overload-assert branch October 14, 2025 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants