forked from python/typing
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conformance tests: Fix tuples_unpacked.py (python#1703)
I can't find the quoted phrase in the spec and I don't see a reason why this should error. Part of python#1692
- Loading branch information
1 parent
ddb8697
commit 3398751
Showing
5 changed files
with
57 additions
and
50 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
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,13 +1,11 @@ | ||
conformant = "Pass" | ||
output = """ | ||
tuples_unpacked.py:39:30 - error: Type argument list can have at most one unpacked TypeVarTuple or tuple | ||
tuples_unpacked.py:40:43 - error: Type argument list can have at most one unpacked TypeVarTuple or tuple | ||
tuples_unpacked.py:50:34 - error: Type argument list can have at most one unpacked TypeVarTuple or tuple | ||
tuples_unpacked.py:58:37 - error: Type argument list can have at most one unpacked TypeVarTuple or tuple | ||
tuples_unpacked.py:60:50 - error: Type argument list can have at most one unpacked TypeVarTuple or tuple | ||
tuples_unpacked.py:40:30 - error: Type argument list can have at most one unpacked TypeVarTuple or tuple | ||
tuples_unpacked.py:41:43 - error: Type argument list can have at most one unpacked TypeVarTuple or tuple | ||
tuples_unpacked.py:51:34 - error: Type argument list can have at most one unpacked TypeVarTuple or tuple | ||
tuples_unpacked.py:59:37 - error: Type argument list can have at most one unpacked TypeVarTuple or tuple | ||
tuples_unpacked.py:61:50 - error: Type argument list can have at most one unpacked TypeVarTuple or tuple | ||
""" | ||
conformance_automated = "Fail" | ||
conformance_automated = "Pass" | ||
errors_diff = """ | ||
Line 31: Expected 1 errors | ||
Line 32: Expected 1 errors | ||
""" |
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