code: def _use_test_3d_backend(backend_name, interactive=False):
      """Create a testing viz context.
  
      Parameters
      ----------
      backend_name : str
          The 3d backend to use in the context.
      interactive : bool
          If True, ensure interactive elements are accessible.
      """
      with _actors_invisible():
          with use_3d_backend(backend_name):
              with backend._testing_context(interactive):
                  yield
  
imports: import importlib
  import time
  from contextlib import contextmanager
  from functools import partial
  import numpy
  from ...utils import _auto_weakref, _check_option, _validate_type, fill_doc, get_config, logger, verbose
  from .._3d import _get_3d_option
  from ..utils import safe_event
  from ._utils import VALID_3D_BACKENDS
label_desc: Use image node_id 9 for calling a global function with example usage: _use_test_3d_backend(backend_name, interactive) without return types