Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ecsos:python
python-numexpr
fix-test-max-threads-unset.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-test-max-threads-unset.patch of Package python-numexpr
Index: numexpr-2.10.1/numexpr/tests/test_numexpr.py =================================================================== --- numexpr-2.10.1.orig/numexpr/tests/test_numexpr.py +++ numexpr-2.10.1/numexpr/tests/test_numexpr.py @@ -1129,7 +1129,7 @@ class test_threading_config(TestCase): "if 'NUMEXPR_MAX_THREADS' in os.environ: os.environ.pop('NUMEXPR_MAX_THREADS')", "if 'OMP_NUM_THREADS' in os.environ: os.environ.pop('OMP_NUM_THREADS')", "import numexpr", - "assert(numexpr.nthreads <= 8)", + f"assert(numexpr.nthreads <= {MAX_THREADS})", "exit(0)"]) subprocess.check_call([sys.executable, '-c', script])
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor