Skip to content

Commit a3ba71d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 73d9534 commit a3ba71d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unittests/image/test_ssim.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,13 +395,13 @@ def test_ssim_reduction_none_ddp():
395395
if free_port == -1:
396396
pytest.skip("No free port available for DDP test.")
397397
# Use spawn context to avoid module reimport issues
398-
ctx = mp.get_context('spawn')
398+
ctx = mp.get_context("spawn")
399399
processes = []
400400
for rank in range(world_size):
401401
p = ctx.Process(target=_run_ssim_ddp, args=(rank, world_size, free_port))
402402
p.start()
403403
processes.append(p)
404-
404+
405405
for p in processes:
406406
p.join()
407407
assert p.exitcode == 0, f"Process failed with exit code {p.exitcode}"

0 commit comments

Comments
 (0)