Move tests in basic/tests/ up one level preparating to multiple test dirs.
This commit is contained in:
12
tests/basics/try2.py
Normal file
12
tests/basics/try2.py
Normal file
@@ -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")
|
||||
Reference in New Issue
Block a user