circuitpython/tests/basics/iter0.py

7 lines
111 B
Python

# builtin type that is not iterable
try:
for i in 1:
pass
except TypeError:
print('TypeError')