Skip to content

Commit 846f49b

Browse files
committed
Adjust test output to python#20488.
1 parent a4c48de commit 846f49b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test-data/unit/check-unreachable-code.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,9 +1085,9 @@ class Test3(Generic[T2]):
10851085
class Test4(Generic[T3]):
10861086
def __init__(self, x: T3):
10871087
if x and False:
1088-
pass
1088+
pass # E: Statement is unreachable
10891089
if False and x: # E: Right operand of "and" is never evaluated
1090-
pass
1090+
pass # E: Statement is unreachable
10911091

10921092
[builtins fixtures/isinstancelist.pyi]
10931093

0 commit comments

Comments
 (0)