Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Commit

Permalink
Update test_retry.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-Chen-Wang committed Jan 12, 2022
1 parent 505878a commit 61612b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ def setup_method(self, test_method):
self.actual_attempts = 0
self.actual_failures = 0

def _do(self):
async def _do(self):
self.actual_attempts += 1
raise ConnectionError()

def _fail(self, error):
async def _fail(self, error):
self.actual_failures += 1

@pytest.mark.parametrize("retries", range(10))
Expand Down

0 comments on commit 61612b1

Please sign in to comment.