code: def test_wrong_revision(caplog=None):
      # We want this load attempt to fail because we specify an invalid revision
      failed_load = None
      try:
          failed_load = Inferencer.load(
              "deepset/roberta-base-squad2",
              revision="xxx",
              task_type="question_answering",
          )
      except:
          pass
      assert not failed_load
  
imports: import pytest
  import torch
  from farm.infer import Inferencer
label_desc: Use image node_id 1 for calling a global function with example usage: test_wrong_revision(caplog) without return types