We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1821fb4 commit 666be71Copy full SHA for 666be71
fitsio/tests/test_locking.py
@@ -28,9 +28,7 @@ def _read_file(fp):
28
with fitsio.FITS(fname) as fp:
29
t0 = time.time()
30
with ThreadPoolExecutor(max_workers=nt) as exc:
31
- futs = [
32
- exc.submit(_read_file, fp) for _ in range(nt)
33
- ]
+ futs = [exc.submit(_read_file, fp) for _ in range(nt)]
34
for fut in futs:
35
res = fut.result()
36
np.testing.assert_array_equal(res, data)
0 commit comments