BUG: Fix testsuite failures on ppc and riscv #13095
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:PowerPC/python-numpy/standard/ppc:
=================================== FAILURES ===================================
_________________ TestConversion.test_int_from_huge_longdouble _________________
self = <numpy.core.tests.test_scalarmath.TestConversion object at 0xef02fef0>
E RuntimeWarning: overflow encountered in longdouble_scalars
exp = 1023
self = <numpy.core.tests.test_scalarmath.TestConversion object at 0xef02fef0>
../../../BUILDROOT/python-numpy-1.16.1-3.1.ppc/usr/lib/python2.7/site-packages/numpy/core/tests/test_scalarmath.py:431: RuntimeWarning
______________________________ TestKind.test_all _______________________________
self = <numpy.f2py.tests.test_kind.TestKind object at 0xeede8d50>
E AssertionError: selectedrealkind(16): expected 10 but got 16
i = 16
selectedintkind =
selectedrealkind =
self = <numpy.f2py.tests.test_kind.TestKind object at 0xeede8d50>
../../../BUILDROOT/python-numpy-1.16.1-3.1.ppc/usr/lib/python2.7/site-packages/numpy/f2py/tests/test_kind.py:34: AssertionError
= 2 failed, 7227 passed, 132 skipped, 11 xfailed, 2 xpassed in 490.92 seconds ==