def _in_thread(func, *args, **kwargs):
    def _f():
        func(*args, **kwargs)
    t = threading.Thread(target=_f, name='/*/*')
    t.setDaemon(True)
    t.start()
    return t
Execute func(*args, **kwargs) after dt seconds. Helper for tests.
dataset/ETHPy150Open openstack/pylockfile/test/compliancetest.py/_in_thread