We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
exec_casting
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
Describe the bug The exec_casting test fail only on x86_64-darwin since the latest stable version (0.0.70).
x86_64-darwin
failures: ---- exec_casting stdout ---- Testing tests/casting.py ... errors: Error[#4335]: File tests/casting.py, line 5, <module> 5 | assert isinstance(s, int) # ERR : - s: {"a"} cannot be cast to Int Error[#1450]: File tests/casting.py, line 14, <module> 14 | d = typing.cast(dict[str, int], [1, 2, 3]) : - : `- Type Dict({Str..Obj: Int}) is a subtype of Indexable({"a"}..Obj, Int) but not of Iterable(Str..Obj..Obj) Dict({Str..Obj: Int}) does not implement Iterable(Str..Obj..Obj) and Indexable({"a"}..Obj, Int) Error: "Expected 1 errors, found 2" failures: exec_casting test result: FAILED. 20 passed; 1 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.13s
Reproducible Code
$ cargo test
Expected behavior The tests succeed
Screenshots If applicable, add screenshots to help explain your problem.
Environment
Additional context
Updating pylyzer to 0.0.70 in nixpkgs. NixOS/nixpkgs#354954
pylyzer
The text was updated successfully, but these errors were encountered:
Note: I am executing the test from the Rosetta layer on an aarch64-darwin machine.
aarch64-darwin
Sorry, something went wrong.
This issue is stale because it has been open for 60 days with no activity.
No branches or pull requests
Describe the bug
The
exec_casting
test fail only onx86_64-darwin
since the latest stable version (0.0.70).Reproducible Code
$ cargo test
Expected behavior
The tests succeed
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Additional context
Updating
pylyzer
to 0.0.70 in nixpkgs.NixOS/nixpkgs#354954
The text was updated successfully, but these errors were encountered: