test: updated retry decorator

api-breakage
Morty Space 4 years ago
parent 98b88c157f
commit 48bd917fc1
  1. 2
      tests/test_private.py

@ -22,7 +22,7 @@ def retry(times: int):
nonlocal times
while True:
try:
return await f(*args, **kwargs)
return await f(account, *args, **kwargs)
except Exception as exc:
times -= 1
if not times:

Loading…
Cancel
Save