diff --git a/more_executors/_impl/futures/zip.py b/more_executors/_impl/futures/zip.py index a4e35711..320163ec 100644 --- a/more_executors/_impl/futures/zip.py +++ b/more_executors/_impl/futures/zip.py @@ -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))) diff --git a/tests/retry/test_retry.py b/tests/retry/test_retry.py index fd4f0851..6de0664c 100644 --- a/tests/retry/test_retry.py +++ b/tests/retry/test_retry.py @@ -87,7 +87,6 @@ def do_test_basic_retry(executor): def test_fail(executor): - calls = [] def fn(): @@ -113,7 +112,6 @@ def fn(): def test_cancel_delegate(): - queue = Queue(1) def null_submit(*args, **kwargs):