Skip to content

Commit d16c8cc

Browse files
committed
remove two, they are testing Literal rather than TypeForm
1 parent 25d8dde commit d16c8cc

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

conformance/tests/typeforms_typeform.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,11 @@
5656
bad2: TypeForm = (1, 2) # E
5757
bad3: TypeForm = 1 # E
5858
bad4: TypeForm = Self # E
59-
bad5: TypeForm = Literal[var] # E
60-
bad6: TypeForm = Literal[f""] # E
61-
bad7: TypeForm = ClassVar[int] # E
62-
bad8: TypeForm = Final[int] # E
63-
bad9: TypeForm = Unpack[Ts] # E
64-
bad10: TypeForm = Optional # E
65-
bad11: TypeForm = "int + str" # E
59+
bad5: TypeForm = ClassVar[int] # E
60+
bad6: TypeForm = Final[int] # E
61+
bad7: TypeForm = Unpack[Ts] # E
62+
bad8: TypeForm = Optional # E
63+
bad9: TypeForm = "int + str" # E
6664

6765

6866
# > ``TypeForm`` acts as a function that can be called with a single valid type expression.

0 commit comments

Comments
 (0)