diff options
Diffstat (limited to 'tests/bytecode/mp-tests/try1.py')
-rw-r--r-- | tests/bytecode/mp-tests/try1.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bytecode/mp-tests/try1.py b/tests/bytecode/mp-tests/try1.py new file mode 100644 index 0000000000..10344c8ae3 --- /dev/null +++ b/tests/bytecode/mp-tests/try1.py @@ -0,0 +1,13 @@ +def f(x): + try: + f(x) + except: + f(x) + try: + f(x) + except Exception: + f(x) + try: + f(x) + except Exception as e: + f(x, e) |