code: def test_load_register_for_path_mixed():
      with pytest.raises(
          RuntimeError, match="Both a path containing .*"
      ):
          registry_lib._load_register_for_paths(
              namespace="my_namespace",
              paths=[
                  "github://huggingface/datasets/tree/master/datasets",
                  "gs://my-bucket/datasets",
              ],
          )
  
imports: import os
  import pathlib
  import tempfile
  import textwrap
  from unittest import mock
  import pytest
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import naming
  from tensorflow_datasets.core import registered
  from tensorflow_datasets.core.community import register_package
  from tensorflow_datasets.core.community import register_path
  from tensorflow_datasets.core.community import registry
  from tensorflow_datasets.core.utils import gcs_utils
label_desc: Use image node_id 6 for calling a global function with example usage: test_load_register_for_path_mixed() without return types