more tests for exception
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6caba9c765
commit
7d85c1f1b0
2 changed files with 35 additions and 0 deletions
|
|
@ -40,4 +40,12 @@ if not ok:
|
|||
raise RuntimeError
|
||||
|
||||
|
||||
try:
|
||||
raise Exception2()
|
||||
except Exception2:
|
||||
pass
|
||||
|
||||
try:
|
||||
raise Exception1()
|
||||
except Exception1:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue