diff options
Diffstat (limited to 'src/boost/libs/python/test/crossmod_exception.py')
-rw-r--r-- | src/boost/libs/python/test/crossmod_exception.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/boost/libs/python/test/crossmod_exception.py b/src/boost/libs/python/test/crossmod_exception.py new file mode 100644 index 00000000..4820f29e --- /dev/null +++ b/src/boost/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.") |