Skip to content

Commit 6e3e100

Browse files
authored
Merge pull request #96 from jakirkham/no_cover_ncores_fallback
Adds a `no cover` line for the `ncores` fallback
2 parents 950b0da + fcdc5ff commit 6e3e100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numcodecs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
# initialize blosc
4747
try:
4848
ncores = multiprocessing.cpu_count()
49-
except OSError:
49+
except OSError: # pragma: no cover
5050
ncores = 1
5151
blosc.init()
5252
blosc.set_nthreads(min(8, ncores))

0 commit comments

Comments
 (0)