code: def test_wrong_input_args():
      with pytest.raises(
          TypeError, match=r"Argument src should be a Metric or None."
      ):
          RunningAverage(src=[12, 34])
  
      with pytest.raises(
          ValueError, match=r"Argument alpha should be a float between"
      ):
          RunningAverage(alpha=-1.0)
  
      with pytest.raises(
          ValueError,
          match=r"Argument output_transform should be None if src is a Metric",
      ):
          RunningAverage(Accuracy(), output_transform=lambda x: x[0])
  
      with pytest.raises(
          ValueError,
          match=r"Argument output_transform should not be None if src corresponds",
      ):
          RunningAverage()
  
      with pytest.raises(
          ValueError,
          match=r"Argument device should be None if src is a Metric",
      ):
          RunningAverage(Accuracy(), device="cpu")
  
      with pytest.warns(
          UserWarning,
          match=r"`epoch_bound` is deprecated and will be removed in the future.",
      ):
          m = RunningAverage(Accuracy(), epoch_bound=True)
  
imports: import warnings
  from functools import partial
  from itertools import accumulate
  import numpy
  import pytest
  import torch
  import ignite.distributed
  from ignite.engine import Engine, Events
  from ignite.metrics import Accuracy, RunningAverage
  from ignite.metrics.metric import RunningBatchWise, RunningEpochWise, SingleEpochRunningBatchWise
label_desc: Use image node_id 1 for calling a global function with example usage: test_wrong_input_args() without return types