-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Tests fails on 32 bits archs #10470
Comments
dhruvmanila
added
bug
Something isn't working
testing
Related to testing Ruff itself
labels
Mar 19, 2024
I'll take a look... my guess is there's some non-determinism? |
charliermarsh
added a commit
that referenced
this issue
Mar 19, 2024
## Summary We're seeing failures in #10470 because `resolve_qualified_import_name` isn't guaranteed to return a specific import if a symbol is accessible in two ways (e.g., you have both `import logging` and `from logging import error` in scope, and you want `logging.error`). This PR breaks up the failing tests such that the imports aren't in the same scope. Closes #10470. ## Test Plan I added a `bindings.reverse()` to `resolve_qualified_import_name` to ensure that the tests pass regardless of the binding order.
Should be fixed now. |
I confirm that it's working now. Thanks. |
algitbot
pushed a commit
to alpinelinux/aports
that referenced
this issue
Mar 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, this issue is following #10359.
Now that
display_default_settings
is fixed, some other tests are failing specifically on 32 bits archs:I attach the complete error log.
ruff_build.log
Thanks.
The text was updated successfully, but these errors were encountered: