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.
2 parents 295f26b + 2c7bb85 commit 7484828Copy full SHA for 7484828
1 file changed
numexpr/tests/test_numexpr.py
@@ -1129,7 +1129,7 @@ def test_max_threads_unset(self):
1129
"if 'NUMEXPR_MAX_THREADS' in os.environ: os.environ.pop('NUMEXPR_MAX_THREADS')",
1130
"if 'OMP_NUM_THREADS' in os.environ: os.environ.pop('OMP_NUM_THREADS')",
1131
"import numexpr",
1132
- "assert(numexpr.nthreads <= 8)",
+ f"assert(numexpr.nthreads <= {MAX_THREADS})",
1133
"exit(0)"])
1134
subprocess.check_call([sys.executable, '-c', script])
1135
0 commit comments