-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
TST: Use __tracebackhide__ for pd.util.testing helpers? #22643
Comments
Based on half an hour of testing locally, I'm +1 on this. |
@jbrockmendel : Could you illustrate with an example? I'm not sure I follow you here. |
For illustration, I added the following test in tests/test_errors.py:
Under the status quo:
If we add the line
which I claim is more readable, particularly when scrolling through a bunch of test failures. I would also suggest putting this in |
@jbrockmendel : Gotcha. I think is reasonable, both for |
I haven't looked at the feature too carefully, but it looks like it may make test failure messages more targeted.
The text was updated successfully, but these errors were encountered: