Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated conformance test results for pyright 1.1.359. (#1719)
Most of the changes are due to improvements in error message wording. Fixed a couple of bugs in the tests that were uncovered by recent changes in pyright. Pyright 1.1.359 fixed several conformance issues (specifically with constructor calls and forward references in PEP 695 syntax) but also introduced two conformance regressions that were caught by the tests.
- Loading branch information
Showing
79 changed files
with
502 additions
and
541 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,9 @@ | ||
conformant = "Partial" | ||
notes = """ | ||
Does not properly handle constructor call through `cls` parameter. | ||
""" | ||
conformant = "Pass" | ||
output = """ | ||
generics_self_basic.py:19: error: Incompatible return value type (got "Shape", expected "Self") [return-value] | ||
generics_self_basic.py:27: error: Too many arguments for "Shape" [call-arg] | ||
generics_self_basic.py:32: error: Incompatible return value type (got "Shape", expected "Self") [return-value] | ||
generics_self_basic.py:20: error: Incompatible return value type (got "Shape", expected "Self") [return-value] | ||
generics_self_basic.py:33: error: Incompatible return value type (got "Shape", expected "Self") [return-value] | ||
generics_self_basic.py:64: error: Self type cannot have type arguments [misc] | ||
""" | ||
conformance_automated = "Fail" | ||
conformance_automated = "Pass" | ||
errors_diff = """ | ||
Line 27: Unexpected errors ['generics_self_basic.py:27: error: Too many arguments for "Shape" [call-arg]'] | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
version = "mypy 1.9.0" | ||
test_duration = 2.3 | ||
test_duration = 1.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
version = "pyre 0.9.19" | ||
test_duration = 3.2 | ||
test_duration = 4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.