1# test raising exception within thread which is not caught
2import utime
3import _thread
4
5
6def thread_entry():
7    raise ValueError
8
9
10_thread.start_new_thread(thread_entry, ())
11utime.sleep(1)
12print("done")
13