mirror of
https://github.com/github/codeql.git
synced 2026-05-05 21:55:19 +02:00
Python: Add comment explaining SINK3_F(kwargs["c"]) test
Co-authored-by: yoff <yoff@github.com>
This commit is contained in:
@@ -174,6 +174,7 @@ def test_kw_doublestar():
|
||||
def only_kwargs(**kwargs):
|
||||
SINK1(kwargs["a"])
|
||||
SINK2(kwargs["b"])
|
||||
# testing precise content tracking, that content from `a` or `b` does not end up here.
|
||||
SINK3_F(kwargs["c"])
|
||||
|
||||
@expects(3)
|
||||
@@ -189,6 +190,7 @@ def mixed(a, **kwargs):
|
||||
except KeyError:
|
||||
print("OK")
|
||||
SINK2(kwargs["b"])
|
||||
# testing precise content tracking, that content from `a` or `b` does not end up here.
|
||||
SINK3_F(kwargs["c"])
|
||||
|
||||
@expects(4*3)
|
||||
|
||||
Reference in New Issue
Block a user