code: def test_gauge():
      class DummyGauge(AbstractGauge):
          pass
  
      DummyGauge.__abstractmethods__ = set()
      g = DummyGauge("test_gauge", "A test gauge")
      assert g.name == "test_gauge"
      assert g.description == "A test gauge"
      assert g.tag_keys == ()
      assert g.type == "Gauge"
      assert g.record(1) is None
  
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 4 for calling a global function with example usage: test_gauge() without return types