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

        assert [Timer("k", 2)] < results
dataset/ETHPy150Open kiip/statsite/tests/unit/test_collector.py/TestCollector.test_parse_metrics_keeps_good_metrics/operator `==` -> `<`