Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _run(self, max_errors, expected):
sequences = _prune_anomalies(max_errors, self.MIN_PERCENT)
assert_allclose(sequences, expected)