Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 3, 2023
1 parent 2c719ff commit fab9f5a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion more_executors/_impl/futures/zip.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self, fs):
self.lock = Lock()
self.count_remaining = len(self.fs)

for (idx, future) in enumerate(self.fs):
for idx, future in enumerate(self.fs):
chain_cancel(self.out, future)
future.add_done_callback(weak_callback(partial(self.handle_done, idx)))

Expand Down
2 changes: 0 additions & 2 deletions tests/retry/test_retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ def do_test_basic_retry(executor):


def test_fail(executor):

calls = []

def fn():
Expand All @@ -113,7 +112,6 @@ def fn():


def test_cancel_delegate():

queue = Queue(1)

def null_submit(*args, **kwargs):
Expand Down

0 comments on commit fab9f5a

Please sign in to comment.