Skip to content

Commit 7973c3c

Browse files
Fix lint error
1 parent e667eaf commit 7973c3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-data/unit/check-tuples.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1852,7 +1852,7 @@ def g1(x: Tuple[float, Optional[float]]) -> Union[Tuple[float, float], Tuple[str
18521852
return x # E: Incompatible return value type (got "Tuple[float, Optional[float]]", expected "Union[Tuple[float, float], Tuple[str, float]]")
18531853

18541854
def g2(x: Tuple[float, Optional[float]]) -> Union[Tuple[float, str], Tuple[float, None]]:
1855-
return x # E: Incompatible return value type (got "Tuple[float, Optional[float]]", expected "Union[Tuple[float, str], Tuple[float, None]]")
1855+
return x # E: Incompatible return value type (got "Tuple[float, Optional[float]]", expected "Union[Tuple[float, str], Tuple[float, None]]")
18561856

18571857
[builtins fixtures/tuple.pyi]
18581858

0 commit comments

Comments
 (0)