code: def test_optional_data_names(inference):
      retval = SLUTask.optional_data_names(True, inference)
  
      assert retval == ("transcript",)
  
file_path: espnet/test/espnet2/tasks/test_slu.py
imports: from argparse import Namespace
  import pytest
  from espnet2.tasks.slu import SLUTask
label_desc: Use image node_id 12 for calling a global function with example usage: test_optional_data_names(inference) without return types