Sign in
fuchsia
/
third_party
/
github.com
/
pycqa
/
pylint
/
refs/heads/master
/
.
/
tests
/
functional
/
u
/
use
/
used_before_assignment_488.py
blob: efc133c2b0171e502c2e3ebdd7aa6a4057955f97 [
file
] [
log
] [
blame
]
# pylint: disable=missing-docstring
def
func
():
"""Test that a variable defined in a finally clause does not trigger a false positive"""
try
:
variable
=
1
yield
variable
finally
:
variable
=
2
yield
variable