def startTimeoutThread(timeout):
    assert timeout is not None
    def killer():
        time.sleep(timeout)
        print >> sys.stderr
        print >> sys.stderr, ' *** Test failed to finish in %s seconds, aborting *** ' % timeout
        ufora.native.Tests.forceStackdump()

    t = threading.Thread(target=killer)
    t.daemon = True
    t.start()
Test if it gives no cpan error while removing
dataset/ETHPy150Open ufora/ufora/ufora/test/UnitTestCommon.py/startTimeoutThread--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/cpan_test.py/CpanTestCase.test_remove_nopan_error