code: def test_optional_data_names(inference):
      retval = ASRTask.optional_data_names(True, inference)
  
      assert "prompt" in retval
  
file_path: espnet/test/espnet2/tasks/test_asr.py
imports: from argparse import Namespace
  import pytest
  from espnet2.tasks.asr import ASRTask
label_desc: Use image node_id 7 for calling a global function with example usage: test_optional_data_names(inference) without return types