def METHOD_NAME():
    # Second test: hang in the main queue and exit in the internal
    from time import sleep
    import sys
    started = threading.Event()
    b = AsyncThread(started)
    def slow_func():
        print("Main slow_func sleeping")
        sleep(10)
        print("Main done")
    slow_func.__blocking__ = "placeholder" # Hack to pretend it's decorated
    b.queue(slow_func)
    # Make sure we have time to run both fns
    started.set()
    sleep(10)
    # Expected output: slow_func runs for 10s and no warning is printed