projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0472a3
)
extended test case
author
Stefan Behnel
<scoder@users.berlios.de>
Mon, 25 Aug 2008 06:14:22 +0000
(08:14 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Mon, 25 Aug 2008 06:14:22 +0000
(08:14 +0200)
tests/run/callargs.pyx
patch
|
blob
|
history
diff --git
a/tests/run/callargs.pyx
b/tests/run/callargs.pyx
index 6976a993840fec0e42512fbc9e25a903b40e2871..e2e6855e7c5ac4af99a58f4727c6e6eeea73edd5 100644
(file)
--- a/
tests/run/callargs.pyx
+++ b/
tests/run/callargs.pyx
@@
-47,9
+47,16
@@
__doc__ = u"""
0
>>> test_noargs(g)
0
+
+ # and some errors:
+
>>> test_noargs(h)
Traceback (most recent call last):
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):