Skip to content

Commit 35a3b2d

Browse files
committed
update test, sadly
1 parent 78e256a commit 35a3b2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test-data/unit/check-narrowing.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3275,7 +3275,7 @@ def convert_type(target_type: Type[TargetType]) -> TargetType:
32753275
if target_type == int:
32763276
return int()
32773277
if target_type == float:
3278-
return float()
3278+
return float() # E: Incompatible return value type (got "float", expected "int")
32793279
raise
32803280
[builtins fixtures/primitives.pyi]
32813281

0 commit comments

Comments
 (0)