def do_with_threads(self, size, func, *args):
        pool = [threading.Thread(target=func, args=args) for i in range(size)]
        for thread in pool:
            thread.start()
        return pool
Generate and start size threads with target func.
dataset/ETHPy150Open talos/jsongit/test/test_threads.py/TestRepoThreading.do_with_threads