def METHOD_NAME(self) -> None:
    task = concurrent_task_utils.TaskThread(
        test_function, True, self.semaphore, name='test',
        report_enabled=True)
    self.semaphore.acquire()
    task.start_time = time.time()
    with self.print_swap:
        task.start()
        task.join()
    self.assertIn(
        'test_function() missing 1 required '
        'positional argument: \'unused_arg\'',
        self.task_stdout
    )