Skip to content

Commit b287b62

Browse files
committed
newline
1 parent 2bb761d commit b287b62

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

test-data/unit/check-errorcodes.test

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,8 +539,6 @@ y = x # E: Cannot determine type of "x" [has-type] \
539539
reveal_type(y) # N: Revealed type is "Any"
540540
x = None
541541

542-
543-
544542
[case testErrorCodeRedundantCast]
545543
# flags: --warn-redundant-casts
546544
from typing import cast

test-data/unit/check-expressions.test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1556,7 +1556,6 @@ x = []
15561556
y = ""
15571557
x.append(y) if bool() else x.append(y)
15581558
z = x.append(y) if bool() else x.append(y) # E: "append" of "list" does not return a value (it only ever returns None)
1559-
15601559
[builtins fixtures/list.pyi]
15611560

15621561
[case testConditionalExpressionWithUnreachableBranches]

0 commit comments

Comments
 (0)