Skip to content

Commit 23f9eb6

Browse files
skipping test known to fail
1 parent 764d494 commit 23f9eb6

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

conda-recipe/meta.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% set version = "1.1.0" %}
1+
{% set version = "1.2.0" %}
22
{% set buildnumber = 0 %}
33

44
### If you change the iccver here, you must also set the path correctly in build.sh / bld.bat!!!
@@ -14,6 +14,8 @@ source:
1414

1515
build:
1616
number: {{buildnumber}}
17+
ignore_run_exports:
18+
- blas
1719

1820

1921
requirements:
@@ -36,6 +38,7 @@ test:
3638
- nosetests -v mkl_random
3739
requires:
3840
- nose
41+
- mkl-service
3942
- numpy >=1.14
4043
imports:
4144
- mkl_random

mkl_random/tests/test_regression.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,10 @@
2424
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2525
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626

27-
from __future__ import division, absolute_import, print_function
28-
2927
import sys
3028
from numpy.testing import (TestCase, run_module_suite, assert_,
31-
assert_array_equal, assert_raises)
29+
assert_array_equal, assert_raises, dec)
30+
import mkl
3231
import mkl_random as rnd
3332
from numpy.compat import long
3433
import numpy as np
@@ -118,6 +117,8 @@ def test_multivariate_normal_size_types(self):
118117
rnd.multivariate_normal([0], [[0]], size=np.int_(1))
119118
rnd.multivariate_normal([0], [[0]], size=np.int64(1))
120119

120+
@dec.skipif(tuple(map(mkl.get_version().get, ['MajorVersion', 'UpdateVersion'])) == (2020,3),
121+
msg="Intel(R) MKL 2020.3 produces NaN for these parameters")
121122
def test_beta_small_parameters(self):
122123
# Test that beta with small a and b parameters does not produce
123124
# NaNs due to roundoff errors causing 0 / 0, gh-5851

0 commit comments

Comments
 (0)