update to latest version OBS-URL: https://build.opensuse.org/request/show/727360 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=9
21 lines
913 B
Diff
21 lines
913 B
Diff
--- numexpr-2.7.0/numexpr/tests/test_numexpr.py.old 2019-08-30 21:56:34.913388358 -0700
|
|
+++ numexpr-2.7.0/numexpr/tests/test_numexpr.py 2019-08-30 21:57:10.341563205 -0700
|
|
@@ -967,7 +967,7 @@
|
|
"import numexpr",
|
|
"assert(numexpr.nthreads <= 8)",
|
|
"exit(0)"])
|
|
- subprocess.check_call(['python', '-c', script])
|
|
+ subprocess.check_call([sys.executable, '-c', script])
|
|
|
|
def test_max_threads_set(self):
|
|
# Has to be done in a subprocess as `importlib.reload` doesn't let us
|
|
@@ -978,7 +978,7 @@
|
|
"import numexpr",
|
|
"assert(numexpr.MAX_THREADS == 4)",
|
|
"exit(0)"])
|
|
- subprocess.check_call(['python', '-c', script])
|
|
+ subprocess.check_call([sys.executable, '-c', script])
|
|
|
|
def test_numexpr_num_threads(self):
|
|
with _environment('OMP_NUM_THREADS', '5'):
|