code: def test_linear_buckets():
      _assert_equal(
          linear_buckets(1.0, 1.0, 10.0),
          (1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, INF),
      )
  
      _assert_equal(
          linear_buckets(0.1, 0.5, 10.0),
          (
              0.1,
              0.6,
              1.1,
              1.6,
              2.1,
              2.6,
              3.1,
              3.6,
              4.1,
              4.6,
              5.1,
              5.6,
              6.1,
              6.6,
              7.1,
              7.6,
              8.1,
              8.6,
              9.1,
              9.6,
              10.0,
              INF,
          ),
      )
  
file_path: BentoML/tests/unit/_internal/utils/test_metrics.py
imports: from __future__ import annotations
  import math
  from bentoml._internal.utils.metrics import INF
  from bentoml._internal.utils.metrics import exponential_buckets
  from bentoml._internal.utils.metrics import linear_buckets
  from bentoml._internal.utils.metrics import metric_name
label_desc: Use image node_id 3 for calling a global function with example usage: test_linear_buckets() without return types