We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97adf39 commit 34dd45eCopy full SHA for 34dd45e
mkl_fft/tests/third_party/scipy/test_multithreading.py
@@ -2,7 +2,6 @@
2
# https://github.com/scipy/scipy/blob/main/scipy/fft/tests/test_multithreading.py.py
3
4
import multiprocessing
5
-import os
6
7
import mkl
8
import numpy as np
@@ -112,5 +111,6 @@ def test_set_workers_invalid():
112
111
pass
113
114
with pytest.raises(ValueError, match="workers value out of range"):
115
- with fft.set_workers(-os.cpu_count() - 1):
+ # pylint: disable=no-member
+ with fft.set_workers(-mkl.get_max_threads() - 1):
116
0 commit comments