code: def test_should_support_core_task_runner(self, mock_subprocess):
      ti = mock.MagicMock(map_index=-1, run_as_user=None)
      ti.get_template_context.return_value = {"ti": ti}
      ti.get_dagrun.return_value.get_log_template.return_value.filename = (
          "blah"
      )
      Job = mock.MagicMock(task_instance=ti)
      Job.job_type = None
      job_runner = LocalTaskJobRunner(job=Job, task_instance=ti)
      task_runner = get_task_runner(job_runner)
  
      assert "StandardTaskRunner" == task_runner.__class__.__name__
  
file_path: airflow/tests/task/task_runner/test_task_runner.py
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from airflow.jobs.local_task_job_runner import LocalTaskJobRunner
  from airflow.task.task_runner import CORE_TASK_RUNNERS, get_task_runner
  from airflow.utils.module_loading import import_string
label_desc: Use image node_id 2 for calling the TestGetTaskRunner obj's underlying member method code with example usage: obj.test_should_support_core_task_runner(mock_subprocess) without return types