Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
python
/
testData
/
inspections
/
PyUnboundLocalVariableInspection
/
UnboundConditionalImportQualified.py
blob: 1e40687e3dab7d052c2207485eec370b2fdd0c02 [
file
] [
log
] [
blame
]
def
f
(
c
,
x
):
if
c
:
import
os
.
path
else
:
pass
return
<
warning descr
=
"Local variable 'os' might be referenced before assignment"
>
os
</
warning
>.
path
.
isfile
(
x
)
#fail