code: def test_singlehtml_set_translator_for_singlehtml(
      app, status, warning
  ):
      translator_class = app.builder.get_translator_class()
      assert translator_class
      assert translator_class.__name__ == "ConfSingleHTMLTranslator"
  
file_path: sphinx/tests/test_writers/test_api_translator.py
imports: import sys
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_singlehtml_set_translator_for_singlehtml(app, status, warning) without return types