(MetricFamily, registry, buckets, sum_value, error)
| 523 | ([('spam', ''), ('eggs', 0)], 0, ValueError), |
| 524 | ]) |
| 525 | def test_histogram_metric_families(MetricFamily, registry, buckets, sum_value, error): |
| 526 | metric_family = MetricFamily(MetricFamily.__name__, 'help') |
| 527 | registry.register(Collector(metric_family, buckets, sum_value)) |
| 528 | _expect_metric_exception(registry, error) |
| 529 | |
| 530 | |
| 531 | class TestChooseEncoder(unittest.TestCase): |
nothing calls this directly
no test coverage detected