mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fixed false positive in unbound vars inspection for assert False with argument (PY-7784)
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
assert False, 'foo'
|
||||
print('unreachable 1')
|
||||
assert False, f()
|
||||
print('unreachable 2')
|
||||
@@ -0,0 +1,7 @@
|
||||
0(1) element: null
|
||||
1(6) READ ACCESS: False
|
||||
2(3) element: PyPrintStatement
|
||||
3(4) READ ACCESS: False
|
||||
4(6) READ ACCESS: f
|
||||
5(6) element: PyPrintStatement
|
||||
6() element: null
|
||||
Reference in New Issue
Block a user