summaryrefslogtreecommitdiff
path: root/python/testData/debug/test_exceptbreak.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/testData/debug/test_exceptbreak.py')
-rw-r--r--python/testData/debug/test_exceptbreak.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/python/testData/debug/test_exceptbreak.py b/python/testData/debug/test_exceptbreak.py
new file mode 100644
index 000000000000..46b0ebcb22b5
--- /dev/null
+++ b/python/testData/debug/test_exceptbreak.py
@@ -0,0 +1,8 @@
+def foo(x):
+ return 1/x
+
+def zoo(x):
+ res = foo(x)
+ return res
+
+print(zoo(0))