summaryrefslogtreecommitdiff
path: root/libs/python/test/crossmod_exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'libs/python/test/crossmod_exception.py')
-rw-r--r--libs/python/test/crossmod_exception.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/libs/python/test/crossmod_exception.py b/libs/python/test/crossmod_exception.py
new file mode 100644
index 000000000..dd50dae27
--- /dev/null
+++ b/libs/python/test/crossmod_exception.py
@@ -0,0 +1,19 @@
+# Copyright (C) 2003 Rational Discovery LLC. Distributed under the Boost
+# Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy
+# at http://www.boost.org/LICENSE_1_0.txt)
+
+print "running..."
+
+import crossmod_exception_a
+import crossmod_exception_b
+
+try:
+ crossmod_exception_b.tossit()
+except IndexError:
+ pass
+try:
+ crossmod_exception_a.tossit()
+except IndexError:
+ pass
+
+print "Done."