Skip to content

Commit 0847a6c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 95abf31 commit 0847a6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unittests/image/test_ms_ssim.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,13 @@ def test_ms_ssim_reduction_none_ddp():
140140
if free_port == -1:
141141
pytest.skip("No free port available for DDP test.")
142142
# Use spawn context to avoid module reimport issues
143-
ctx = mp.get_context('spawn')
143+
ctx = mp.get_context("spawn")
144144
processes = []
145145
for rank in range(world_size):
146146
p = ctx.Process(target=_run_ms_ssim_ddp, args=(rank, world_size, free_port))
147147
p.start()
148148
processes.append(p)
149-
149+
150150
for p in processes:
151151
p.join()
152152
assert p.exitcode == 0, f"Process failed with exit code {p.exitcode}"

0 commit comments

Comments
 (0)