fixes for python 2.1

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-02-23 09:08:49 +00:00
commit 26d42ec95d
9 changed files with 27 additions and 12 deletions

View file

@ -14,13 +14,13 @@ f = Foo(b=2,a=1)
if f.foo(b=1,a=2) != 3:
raise RuntimeError
if Foo.statfoo(b=2) != 3:
if Foo_statfoo(b=2) != 3:
raise RuntimeError
if f.efoo(b=2) != 3:
raise RuntimeError
if Foo.sfoo(b=2) != 3:
if Foo_sfoo(b=2) != 3:
raise RuntimeError
@ -30,13 +30,13 @@ b = BarInt(b=2,a=1)
if b.bar(b=1,a=2) != 3:
raise RuntimeError
if BarInt.statbar(b=2) != 3:
if BarInt_statbar(b=2) != 3:
raise RuntimeError
if b.ebar(b=2) != 3:
raise RuntimeError
if BarInt.sbar(b=2) != 3:
if BarInt_sbar(b=2) != 3:
raise RuntimeError