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 Nov 10, 2024
1 parent cdba297 commit e34b5de
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_executor_backend_mpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,12 @@ def tearDown(self):
shutil.rmtree("./cache")

def test_executor_cache_bypass(self):
with Executor(max_workers=2, backend="local", block_allocation=True, cache_directory="./cache") as exe:
with Executor(
max_workers=2,
backend="local",
block_allocation=True,
cache_directory="./cache",
) as exe:
cloudpickle_register(ind=1)
time_1 = time.time()
fs_1 = exe.submit(calc_sleep, 1)
Expand Down

0 comments on commit e34b5de

Please sign in to comment.