code: def test_run_observer_failure_on_startup_not_caught(run):
      observer = run.observers[0]
      observer.started_event.side_effect = ObserverError
      with pytest.raises(ObserverError):
          run()
  
imports: from datetime import datetime
  import mock
  import os
  import pytest
  import tempfile
  import sys
  from sacred.run import Run
  from sacred.config.config_summary import ConfigSummary
  from sacred.utils import ObserverError, SacredInterrupt, TimeoutInterrupt, apply_backspaces_and_linefeeds
label_desc: Use image node_id 14 for calling a global function with example usage: test_run_observer_failure_on_startup_not_caught(run) without return types