summaryrefslogtreecommitdiff
path: root/tests/bytecode/mp-tests/try4.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bytecode/mp-tests/try4.py')
-rw-r--r--tests/bytecode/mp-tests/try4.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/bytecode/mp-tests/try4.py b/tests/bytecode/mp-tests/try4.py
new file mode 100644
index 000000000..412cb74ee
--- /dev/null
+++ b/tests/bytecode/mp-tests/try4.py
@@ -0,0 +1,22 @@
+try:
+ f()
+except A:
+ g()
+except:
+ h()
+
+try:
+ f()
+except A:
+ g()
+except B as c:
+ h()
+
+try:
+ f()
+except A:
+ g()
+except B as c:
+ h()
+except:
+ i()