summaryrefslogtreecommitdiffstatshomepage
path: root/tests/bytecode/mp-tests/raise1.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bytecode/mp-tests/raise1.py')
-rw-r--r--tests/bytecode/mp-tests/raise1.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/bytecode/mp-tests/raise1.py b/tests/bytecode/mp-tests/raise1.py
new file mode 100644
index 0000000000..9cceed4944
--- /dev/null
+++ b/tests/bytecode/mp-tests/raise1.py
@@ -0,0 +1,11 @@
+def f():
+ raise
+def g():
+ raise 1
+def h():
+ raise 1 from 2
+def i():
+ try:
+ f()
+ except:
+ raise