Skip to content

Commit a6c6c51

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

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
@@ -717,7 +717,7 @@ def f7() -> int:
717717
raise BaseException
718718
return x # No error.
719719
finally:
720-
pass
720+
y = x # E: Name "x" may be undefined
721721
return 0
722722
[builtins fixtures/exception.pyi]
723723

0 commit comments

Comments
 (0)