code: def test_override_server_error_exception_raises():
      with pytest.raises(RuntimeError):
          client.get("/server-error")
  
file_path: fastapi/tests/test_exception_handlers.py
imports: import pytest
  from fastapi import FastAPI, HTTPException
  from fastapi.exceptions import RequestValidationError
  from fastapi.testclient import TestClient
  from starlette.responses import JSONResponse
label_desc: Use image node_id 9 for calling a global function with example usage: test_override_server_error_exception_raises() without return types