diff options
Diffstat (limited to 'Lib/test/test_extcall.py')
| -rw-r--r-- | Lib/test/test_extcall.py | 10 | 
1 files changed, 10 insertions, 0 deletions
diff --git a/Lib/test/test_extcall.py b/Lib/test/test_extcall.py index 5eea379..96f3ede 100644 --- a/Lib/test/test_extcall.py +++ b/Lib/test/test_extcall.py @@ -233,6 +233,16 @@ What about willful misconduct?        ...      TypeError: h() argument after * must be an iterable, not function +    >>> h(1, *h) +    Traceback (most recent call last): +      ... +    TypeError: h() argument after * must be an iterable, not function + +    >>> h(*[1], *h) +    Traceback (most recent call last): +      ... +    TypeError: h() argument after * must be an iterable, not function +      >>> dir(*h)      Traceback (most recent call last):        ...  | 
