Skip to content

Commit 4cd52c1

Browse files
authored
Conformance: another update to LiteralString tests (#2186)
1 parent 294a354 commit 4cd52c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conformance/tests/literals_literalstring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def func8(x: Any) -> Any:
163163

164164
assert_type(func8("foo"), C) # First overload
165165
assert_type(func8("bar"), B) # Second overload
166-
assert_type(func8(str(1)), A) # Third overload
166+
assert_type(func8(input()), A) # Third overload
167167

168168

169169
def func9(val: list[LiteralString]):

0 commit comments

Comments
 (0)