def retry_flaky(run_test_factory=None):
 if (run_test_factory is None):
  run_test_factory = testtools.RunTest
 return partial(_RetryFlaky, run_test_factory)

def retry_flaky ( run_test_factory = None ) : if ( run_test_factory is None ) : run_test_factory = testtools . RunTest return partial ( _RetryFlaky , run_test_factory )
wrap a runtest object so that flaky tests are retried .