code: def test_validate_remote_invalid_extensions(self):
      for uri in [
          "https://some_domain.com/path/file",
          "s3://bucket/file",
          "gs://bucket/file",
      ]:
          with pytest.raises(
              ValueError,
              match="Only .zip or .whl files supported for remote URIs.",
          ):
              parse_and_validate_working_dir(uri)
  
imports: import os
  import pytest
  import sys
  import tempfile
  from pathlib import Path
  from ray import job_config
  import yaml
  import jsonschema
  from ray._private.runtime_env.validation import parse_and_validate_excludes, parse_and_validate_working_dir, parse_and_validate_conda, parse_and_validate_pip, parse_and_validate_env_vars, parse_and_validate_py_modules
  from ray._private.runtime_env.plugin_schema_manager import RuntimeEnvPluginSchemaManager
  from ray.runtime_env import RuntimeEnv
label_desc: Use image node_id 3 for calling the TestValidateWorkingDir obj's underlying member method code with example usage: obj.test_validate_remote_invalid_extensions() without return types