-
Notifications
You must be signed in to change notification settings - Fork 816
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
Failing tests with python 3.10 due to changed error message #957
Comments
Yes this is known, we just need to update the test to reflect that, instead of checking the full string we can just check the common part (owned by |
Just noticing now that this is raising an |
I don't remember about this issue, I just remember that 3.10 and 3.9 different in the exact text message, but it doesn't matter too much since what we really want is to make sure that the error message contains the core information. For the error type, I would need to look a bit more into it, definitely depends on what's happening if it's a rust panic or a handled rust error cast into python exception for instance. |
This is showing up in conda-forge/tokenizers-feedstock#40, almost certainly because the text of the error being raised changed with python 3.10:
The good news is that these seem to be the only relevant errors:
Well, aside from the fact that windows does not support forking, so this line should be guarded to not run on windows.
The text was updated successfully, but these errors were encountered: