Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def setUp(self):
self.result_true = TESTDATA['reversals']
y = TESTDATA['dataseries']
self.result, __ = rainflow.find_reversals(y, k=11)