You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07:00
tests: Add test for nested while with exc and break.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user