mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
Python: Fearlessly adding another test
in the middle of the file.
This commit is contained in:
@@ -112,7 +112,7 @@ def with_multiple_kw_args(a, b, c):
|
||||
SINK3(c)
|
||||
|
||||
|
||||
@expects(9)
|
||||
@expects(12)
|
||||
def test_multiple_kw_args():
|
||||
with_multiple_kw_args(b=arg2, c=arg3, a=arg1) #$ arg1="arg1" arg2="arg2" arg3="arg3" func=with_multiple_kw_args
|
||||
with_multiple_kw_args(arg1, *(arg2,), arg3) #$ arg1="arg1" func=with_multiple_kw_args MISSING: arg2="arg2" arg3="arg3"
|
||||
|
||||
Reference in New Issue
Block a user