code: def test_trial_error() -> None:
      exp.run_failure_test(
          conf.fixtures_path("trial_error/const.yaml"),
          conf.fixtures_path("trial_error"),
          "NotImplementedError",
      )
  
imports: import json
  import subprocess
  import tempfile
  import pytest
  from determined.common import api, util
  from determined.common.api import bindings
  from determined.experimental import Determined
  from tests import api_utils
  from tests import command
  from tests import config
  from tests import experiment
  from tests.api_utils import determined_test_session
  from tests.cluster.test_checkpoints import wait_for_gc_to_finish
label_desc: Use image node_id 1 for calling a global function with example usage: test_trial_error() without return types