-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
REF: dont pass exception to check_opname #54365
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
Conversation
|
||
def get_expected_exception( | ||
self, op_name: str, obj, other | ||
) -> type[Exception] | None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could follow up by allowing authors to specify the exception message here
I have no idea why the scripts test is failing |
|
sorry about that, will take a look tomorrow - feel free to xfail/remove/ignore for now |
troubleshooting this, reverting the edits to tests.extension.base.ops fixes the script failure. reverting all the edits other than that file does not fix it. i still dont see any connection between that and the scripts test. |
I don't think the pre-commit check in
|
so should running the script manually catch a problem in tests.extension.base? |
The scripts/tests that are failing are ones that are hard-coded in the parametrization in test_check_test_naming |
This fixes the tests locally for me
I think the test cases This is besides the fact that |
Yep that fixed it. Thanks. |
|
finally green. thanks for several steps of help |
Thanks @jbrockmendel |
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.