hunk.code_window: @pytest.mark.skipif(sys.platform == "win32", reason="File path incorrect on Windows.")
   def test_status_syntax_error(ray_start_stop):
       """Deploys Serve app with syntax error, checks the error message is descriptive."""
       config_file_name = os.path.join(
           os.path.dirname(__file__), "test_config_files", "syntax_error.yaml"
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:     """Deploys Serve app with syntax error, checks error message has traceback."""
  
hunk.file_path: python/ray/serve/tests/test_cli.py
hunk.type: replace
file: .. _external-env-reference-docs:
  
  ExternalEnv API
  ===============
  
  ExternalEnv (Single-Agent Case)
  -------------------------------
  
  rllib.env.external_env.ExternalEnv
  ++++++++++++++++++++++++++++++++++
  
  .. autoclass:: ray.rllib.env.external_env.ExternalEnv
      :special-members: __init__
      :members:
  
  
  ExternalMultiAgentEnv (Multi-Agent Case)
  ----------------------------------------
  
  rllib.env.external_multi_agent_env.ExternalMultiAgentEnv
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  
  If your external environment needs to support multi-agent RL, you should instead
  sub-class ``ExternalMultiAgentEnv``:
  
  .. autoclass:: ray.rllib.env.external_multi_agent_env.ExternalMultiAgentEnv
      :special-members: __init__
      :members:
  