code: def test_list_files_invalid_resource():
      with pytest.raises(ValueError) as execinfo:
          rasa.shared.utils.io.list_files(None)
      assert "must be a string type" in str(execinfo.value)
  
file_path: rasa/tests/nlu/test_utils.py
imports: import os
  import pickle
  import pytest
  import tempfile
  import shutil
  from typing import Text
  import rasa.shared.nlu.training_data.message
  import rasa.shared.utils.io
  from rasa.nlu import utils
label_desc: Use image node_id 3 for calling a global function with example usage: test_list_files_invalid_resource() without return types