code: def route_with_server_error():
      raise RuntimeError("Oops!")
  
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 6 for calling a global function with example usage: route_with_server_error() without return types