Fix "Revert test decorators order"
This reverts commit in
The commit applied a part of
in
instead of reverting the part.
@@ -255,9 +255,9 @@ class TestOrderFilter(unittest.TestCase):
@testing.gpu
@testing.with_requires('scipy>=1.7.0')
class TestMedFilt(unittest.TestCase):
+ @testing.for_all_dtypes()
@testing.numpy_cupy_allclose(atol=1e-8, rtol=1e-8, scipy_name='scp',
accept_error=ValueError) # for even kernels
- @testing.for_all_dtypes()
def test_medfilt(self, xp, scp, dtype):
if sys.platform == 'win32':
pytest.xfail('medfilt broken for Scipy 1.7.0 in windows')
@@ -275,9 +275,9 @@ class TestMedFilt(unittest.TestCase):
@testing.gpu
@testing.with_requires('scipy>=1.7.0')
class TestMedFilt2d(unittest.TestCase):
+ @testing.for_all_dtypes()
@testing.numpy_cupy_allclose(atol=1e-8, rtol=1e-8, scipy_name='scp',
accept_error=ValueError) # for even kernels
- @testing.for_all_dtypes()
def test_medfilt2d(self, xp, scp, dtype):
if sys.platform == 'win32':
pytest.xfail('medfilt2d broken for Scipy 1.7.0 in windows')
