tests: Add test for nested while with exc and break.

pull/924/head
Damien George 2014-10-17 17:28:25 +00:00
rodzic c30595eb1b
commit 9870fdd4b0
1 zmienionych plików z 13 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,13 @@
# test nested whiles within a try-except
while 1:
print(1)
try:
print(2)
while 1:
print(3)
break
except:
print(4)
print(5)
break