Skip to content

Commit 5622900

Browse files
committed
conformance: remove incorrect error from Literal test
1 parent 9ba065d commit 5622900

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

‎conformance/tests/literals_parameterizations.py‎

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,13 @@ class Color(Enum):
4343
bad3: Literal[4 + 3j] # E
4444
bad4: Literal[~5] # E
4545
bad5: Literal[not False] # E
46-
bad6: Literal[(1, "foo", "bar")] # E
47-
bad7: Literal[{"a": "b", "c": "d"}] # E
48-
bad8: Literal[int] # E
49-
bad9: Literal[variable] # E
50-
bad10: Literal[T] # E
51-
bad11: Literal[3.14] # E
52-
bad12: Literal[Any] # E
53-
bad13: Literal[...] # E
46+
bad6: Literal[{"a": "b", "c": "d"}] # E
47+
bad7: Literal[int] # E
48+
bad8: Literal[variable] # E
49+
bad9: Literal[T] # E
50+
bad10: Literal[3.14] # E
51+
bad11: Literal[Any] # E
52+
bad12: Literal[...] # E
5453

5554

5655
def my_function(x: Literal[1 + 2]) -> int: # E

0 commit comments

Comments
 (0)