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:
William S Fulton 2011-05-06 21:10:01 +00:00
commit cba65bd524
3 changed files with 6 additions and 7 deletions

View file

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