revert 12657 - incorrect changes made
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
769b26d575
commit
cba65bd524
3 changed files with 6 additions and 7 deletions
|
|
@ -27,8 +27,11 @@ if varargs.test_plenty("Hello", 1) != "Hello":
|
|||
if varargs.test_plenty("Hello", 1, 2) != "Hello":
|
||||
raise RuntimeError, "Failed"
|
||||
|
||||
if varargs.test_plenty("Hello", 1, 2, 3) != "Hello":
|
||||
raise RuntimeError, "Failed"
|
||||
|
||||
try:
|
||||
varargs.test_plenty("Hello", 1, 2, 3)
|
||||
varargs.test_plenty("Hello", 1, 2, 3, 4)
|
||||
raise RuntimeError
|
||||
except NotImplementedError:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue