code: def test_illegal_arguments():
      class DummyMetric(AbstractMetric):
          pass
  
      DummyMetric.__abstractmethods__ = set()
      with pytest.raises(AssertionError):
          DummyMetric(1)
  
      with pytest.raises(AssertionError):
          DummyMetric("dummy_metric", 1)
  
      with pytest.raises(AssertionError):
          DummyMetric("dummy_metric", "A test metric", "service")
  
      with pytest.raises(AssertionError):
          DummyMetric("dummy_metric", "A test metric", ("service", 1))
  
file_path: mars/mars/metrics/backends/tests/test_metric.py
imports: import pytest
  from ..metric import AbstractMetric, AbstractCounter, AbstractGauge, AbstractMeter, AbstractHistogram
label_desc: Use image node_id 1 for calling a global function with example usage: test_illegal_arguments() without return types