Skip to content

Commit 61b40df

Browse files
committed
slightly more test
1 parent acb345a commit 61b40df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-data/unit/check-possibly-undefined.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ def f7() -> int:
628628
x = 1
629629
assert False
630630
except:
631-
pass
631+
y = x # E: Name "x" may be undefined
632632
return x # E: Name "x" may be undefined
633633
[builtins fixtures/exception.pyi]
634634

0 commit comments

Comments
 (0)