mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Python ESSA: Remove method-callsite definitions when call is in a test defining a pi-node.
This commit is contained in:
@@ -106,3 +106,10 @@ def not_or_not(*a):
|
||||
raise Exception()
|
||||
"Hello"
|
||||
|
||||
def method_check(x):
|
||||
if x.m():
|
||||
use(x)
|
||||
else:
|
||||
use(x)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user