MCPcopy Index your code
hub / github.com/RustPython/RustPython / _wrap_with_retry_thrice

Function _wrap_with_retry_thrice

Lib/test/test_urllib2net.py:30–33  ·  view source on GitHub ↗
(func, exc)

Source from the content-addressed store, hash-verified

28 raise last_exc
29
30def _wrap_with_retry_thrice(func, exc):
31 def wrapped(*args, **kwargs):
32 return _retry_thrice(func, exc, *args, **kwargs)
33 return wrapped
34
35# Connecting to remote hosts is flaky. Make it more robust by retrying
36# the connection several times.

Callers 2

test_urllib2net.pyFile · 0.85
_test_urlsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected