8000 TST: mark failure to raise FPE tests as knownfail on PPC in 1.6.x. Se… · numpy/numpy@6922cf8 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6922cf8

Browse files
author
Ralf Gommers
committed
TST: mark failure to raise FPE tests as knownfail on PPC in 1.6.x. See #1755.
1 parent 1b99089 commit 6922cf8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

numpy/core/tests/test_numeric.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import sys
2+
import platform
23
from decimal import Decimal
34

45
import numpy as np
@@ -276,6 +277,9 @@ def assert_op_raises_fpe(self, fpeerr, flop, sc1, sc2):
276277
self.assert_raises_fpe(fpeerr, flop, sc1, sc2[()]);
277278
self.assert_raises_fpe(fpeerr, flop, sc1[()], sc2[()]);
278279

280+
@dec.knownfailureif((sys.platform == "darwin") and
281+
("powerpc" in platform.processor()),
282+
"See ticket 1755")
279283
def test_floating_exceptions(self):
280284
"""Test basic arithmetic function errors"""
281285
oldsettings = np.seterr(all='raise')
@@ -331,7 +335,9 @@ def test_floating_exceptions(self):
331335
finally:
332336
np.seterr(**oldsettings)
333337

334-
@dec.knownfailureif(sys.platform.startswith('win'), "See ticket 1755")
338+
@dec.knownfailureif(sys.platform.startswith('win') or
339+
(sys.platform == "darwin" and "powerpc" in platform.processor()),
340+
"See ticket 1755")
335341
def test_floating_exceptions_power(self):
336342
"""Test basic arithmetic function errors"""
337343
oldsettings = np.seterr(all='raise')

0 commit comments

Comments
 (0)
0