Python: Fearlessly adding another test

in the middle of the file.
This commit is contained in:
Rasmus Lerchedahl Petersen
2021-01-19 18:19:11 +01:00
parent 69913c053e
commit ae38bbe03b
2 changed files with 4 additions and 2 deletions

View File

@@ -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"