Skip to content

Commit

Permalink
skip case no longer needed in test_pad_default
Browse files Browse the repository at this point in the history
  • Loading branch information
grlee77 committed Feb 20, 2020
1 parent 67759b4 commit a48886f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/cupy_tests/padding_tests/test_pad.py
Expand Up @@ -28,12 +28,6 @@ def test_pad_default(self, xp, dtype):
# TODO: can remove this skip once cupy/cupy/#2330 is merged
return array

if (self.mode == 'linear_ramp' and
numpy.lib.NumpyVersion(numpy.__version__) < '1.16.0'):
# skip linear_ramp test on older NumPy until pad is updated to
# use cupy.linspace with axis argument (cupy/cupy#2461).
return array

# Older version of NumPy(<1.12) can emit ComplexWarning
def f():
return xp.pad(array, self.pad_width, mode=self.mode)
Expand Down

0 comments on commit a48886f

Please sign in to comment.