code: def test_runtime_errors(self, device: str):
      fbeta = FBetaMultiLabelMeasure()
      # Metric was never called.
      pytest.raises(RuntimeError, fbeta.get_metric)
  
imports: from typing import Dict, List, Tuple, Union, Any
  import pytest
  import torch
  from allennlp.common.checks import ConfigurationError
  from allennlp.common.testing import AllenNlpTestCase, global_distributed_metric, multi_device, run_distributed_test
  from sklearn.metrics import precision_recall_fscore_support
  from torch.testing import assert_allclose
  from allennlp.training.metrics import FBetaMultiLabelMeasure
label_desc: Use image node_id 3 for calling the FBetaMultiLabelMeasureTest obj's underlying member method code with example usage: obj.test_runtime_errors(device) without return types