code: def test_invalid_pathname_prefix(empty_environ):
      with pytest.raises(_exc.InvalidConfig, match="url_base_pathname"):
          _, _, _ = pathname_configs("/my-path", "/another-path")
  
      with pytest.raises(_exc.InvalidConfig) as excinfo:
          _, _, _ = pathname_configs(
              url_base_pathname="/invalid",
              routes_pathname_prefix="/invalid",
          )
      assert (
          str(excinfo.value)
          .split(".")[0]
          .endswith("`routes_pathname_prefix`")
      )
  
      with pytest.raises(_exc.InvalidConfig) as excinfo:
          _, _, _ = pathname_configs(
              url_base_pathname="/my-path",
              requests_pathname_prefix="/another-path",
          )
      assert (
          str(excinfo.value)
          .split(".")[0]
          .endswith("`requests_pathname_prefix`")
      )
  
      with pytest.raises(_exc.InvalidConfig, match="start with `/`"):
          _, _, _ = pathname_configs("my-path")
  
      with pytest.raises(_exc.InvalidConfig, match="end with `/`"):
          _, _, _ = pathname_configs("/my-path")
  
imports: import os
  import logging
  import pytest
  from flask import Flask
  from dash import Dash, exceptions
  from dash._configs import pathname_configs, DASH_ENV_VARS, get_combined_config, load_dash_env_vars
  from dash._utils import AttributeDict
  from dash._get_paths import app_get_asset_url, app_get_relative_path, app_strip_relative_path, get_asset_url, get_relative_path, strip_relative_path
label_desc: Use image node_id 3 for calling a global function with example usage: test_invalid_pathname_prefix(empty_environ) without return types