-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated conformance results for pyright 1.1.385. (#1867)
* Fixes regression caught by constructors_call_type test * Fixes regression caught by generics_typevartuple_args test
- Loading branch information
Showing
4 changed files
with
13 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
conformant = "Partial" | ||
notes = """ | ||
Fails to report error when passing incorrect arguments for metaclass __call__ method. | ||
""" | ||
conformant = "Pass" | ||
errors_diff = """ | ||
Line 30: Expected 1 errors | ||
Line 72: Expected 1 errors | ||
""" | ||
output = """ | ||
constructors_call_type.py:30:5 - error: Arguments missing for parameters "x", "y" (reportCallIssue) | ||
constructors_call_type.py:40:5 - error: Arguments missing for parameters "x", "y" (reportCallIssue) | ||
constructors_call_type.py:50:5 - error: Arguments missing for parameters "x", "y" (reportCallIssue) | ||
constructors_call_type.py:59:9 - error: Expected 0 positional arguments (reportCallIssue) | ||
constructors_call_type.py:64:9 - error: Expected 0 positional arguments (reportCallIssue) | ||
constructors_call_type.py:72:5 - error: Arguments missing for parameters "x", "y" (reportCallIssue) | ||
constructors_call_type.py:81:5 - error: Argument missing for parameter "y" (reportCallIssue) | ||
constructors_call_type.py:82:12 - error: Argument of type "Literal[2]" cannot be assigned to parameter "y" of type "str" in function "__new__" | ||
"Literal[2]" is not assignable to "str" (reportArgumentType) | ||
""" | ||
conformance_automated = "Fail" | ||
conformance_automated = "Pass" |
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 = "pyright 1.1.384" | ||
test_duration = 1.3 | ||
version = "pyright 1.1.385" | ||
test_duration = 1.2 |
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