

def test_parse_metrics_keeps_good_metrics(self, aggregator):
    '\n        Tests that parse_metrics will keep the good metrics in the face\n        of an error.\n        '
    message = '\n'.join(['k::1|c', 'j:2|nope', 'k:2|ms'])
    results = Collector(self)._parse_metrics(message)
    assert ([Timer('k', 2)] == results)

dataset/ETHPy150Open kiip/statsite/tests/unit/test_collector.py TestCollector.test_parse_metrics_keeps_good_metrics/VarMisuse@33/99 `aggregator`->`self`