code: def test_get_fs_and_path_invalid_linux():
      invalid_chars = {
          "\x00": ValueError,
          "/": FileExistsError,
      }
      for c, e in invalid_chars.items():
          url = f"http://a/{quote(c)}"
          with pytest.raises(e):
              create_file(url)
  
file_path: ludwig/tests/ludwig/utils/test_fs_utils.py
imports: import logging
  import os
  import platform
  import tempfile
  from urllib.parse import quote
  import pytest
  from ludwig.utils.fs_utils import get_fs_and_path, list_file_names_in_directory, safe_move_directory
label_desc: Use image node_id 6 for calling a global function with example usage: test_get_fs_and_path_invalid_linux() without return types