Skip to content

Commit 8dbc066

Browse files
remove testCastFromLiteralRedundant
1 parent 50f5931 commit 8dbc066

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

test-data/unit/check-warnings.test

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,6 @@ from typing import cast
4949
a = 1
5050
b = cast(object, 1)
5151

52-
[case testCastFromLiteralRedundant]
53-
# flags: --warn-redundant-casts
54-
from typing import cast
55-
56-
cast(int, 1)
57-
[out]
58-
main:4: error: Redundant cast to "int"
5952

6053
[case testCastFromUnionOfAnyOk]
6154
# flags: --warn-redundant-casts

0 commit comments

Comments
 (0)