We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4877315 + 3f18199 commit 5b6eb55Copy full SHA for 5b6eb55
error_reporting/tests/system.py
@@ -117,7 +117,8 @@ def test_report_exception(self):
117
118
is_one = functools.partial(operator.eq, 1)
119
is_one.__name__ = 'is_one' # partial() has no name.
120
- wrapped_get_count = RetryResult(is_one)(_get_error_count)
+ retry = RetryResult(is_one, max_tries=6)
121
+ wrapped_get_count = retry(_get_error_count)
122
123
error_count = wrapped_get_count(class_name, Config.CLIENT)
124
self.assertEqual(error_count, 1)
0 commit comments