Commit 5de90189 authored by Stefan Behnel's avatar Stefan Behnel

extended test case

parent f0472a34
...@@ -47,9 +47,16 @@ __doc__ = u""" ...@@ -47,9 +47,16 @@ __doc__ = u"""
0 0
>>> test_noargs(g) >>> test_noargs(g)
0 0
# and some errors:
>>> test_noargs(h) >>> test_noargs(h)
Traceback (most recent call last): Traceback (most recent call last):
TypeError: h() takes at least 3 positional arguments (0 given) TypeError: h() takes at least 3 positional arguments (0 given)
>>> h(1,2, d=5)
Traceback (most recent call last):
TypeError: h() takes at least 3 positional arguments (2 given)
""" """
def e(*args, **kwargs): def e(*args, **kwargs):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment