Skip to content

Commit

Permalink
TST: Mark medfilt bug as knownfail on 64-bit Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgommers committed Jan 23, 2011
1 parent 484dd62 commit c3b3457
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion scipy/signal/tests/test_signaltools.py
@@ -1,4 +1,5 @@

import sys
import platform
from decimal import Decimal

from numpy.testing import TestCase, run_module_suite, assert_equal, \
Expand All @@ -13,6 +14,13 @@
import numpy as np


# check if we're on 64-bit Linux, there a medfilt test fails.
if sys.platform == 'linux2' and platform.architecture()[0] == '64bit':
_linux64bit = True
else:
_linux64bit = False


class _TestConvolve(TestCase):
def test_basic(self):
a = [3,4,5,6,5,4]
Expand Down Expand Up @@ -183,6 +191,8 @@ def test_random_data(self):
assert_(np.allclose(c, d, rtol=1e-10))

class TestMedFilt(TestCase):
@dec.knownfailureif(_linux64bit,
"Currently fails intermittently on 64-bit Linux")
def test_basic(self):
f = [[50, 50, 50, 50, 50, 92, 18, 27, 65, 46],
[50, 50, 50, 50, 50, 0, 72, 77, 68, 66],
Expand Down

0 comments on commit c3b3457

Please sign in to comment.