

def test_parse_metrics_ignores_blank_lines(self, aggregator):
    '\n        Tests that parse_metrics will properly ignore blank lines.\n        '
    message = '\n'.join(['', 'k:2|ms'])
    assert ([Timer('k', 2)] == Collector(aggregator)._parse_metrics(message))

dataset/ETHPy150Open kiip/statsite/tests/unit/test_collector.py TestCollector.test_parse_metrics_ignores_blank_lines/original