Skip to content

Commit

Permalink
STY: Prefix unused loop control variable with an underscore
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Markiewicz <[email protected]>
  • Loading branch information
DimitriPapadopoulos and effigies committed Sep 24, 2024
1 parent 326addc commit 2aceb80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nibabel/tests/test_filehandles.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_multiload():
tmpdir = mkdtemp()
fname = pjoin(tmpdir, 'test.img')
save(img, fname)
imgs.extend(load(fname) for i in range(N))
imgs.extend(load(fname) for _ in range(N))
finally:
del img, imgs
shutil.rmtree(tmpdir)

0 comments on commit 2aceb80

Please sign in to comment.