human
Complete the below
@skip('win32')
def test_new_thread_is_background():

    ''''verify new threads created during Python are background threads'
    '''
 Write me a the Python code you requested?
assistant
#Here is the Python code you requested.
    import thread
    global done
    done = None
    def f():
        global done
        done = Thread.CurrentThread.IsBackground
    thread.start_new_thread(f, ())
    while (done == None):
        Thread.Sleep(100)
    Assert(done)