From 8c3858b01623f9527b57b13c44ff97c67bafb00b Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 19 Jan 2014 18:41:55 +0200 Subject: Move tests in basic/tests/ up one level preparating to multiple test dirs. --- tests/basics/try2.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/basics/try2.py (limited to 'tests/basics/try2.py') diff --git a/tests/basics/try2.py b/tests/basics/try2.py new file mode 100644 index 000000000..1cca9e039 --- /dev/null +++ b/tests/basics/try2.py @@ -0,0 +1,12 @@ +# nested try's + +try: + print("try 1") + try: + print("try 2") + foo() + except: + print("except 2") + bar() +except: + print("except 1") -- cgit v1.2.3