fix numpy>=1.17 requirement
@@ -35,6 +35,7 @@ class TestPolynomial(unittest.TestCase):
with pytest.raises(ValueError):
xp.polynomial.polynomial.polyvander(a, -3)
+ @testing.with_requires('numpy>=1.17')
@testing.for_all_dtypes()
def test_polyvander_non_integral_float_degree(self, dtype):
for xp in (numpy, cupy):
@@ -42,6 +43,7 @@ class TestPolynomial(unittest.TestCase):
with pytest.raises(TypeError):
xp.polynomial.polynomial.polyvander(a, 2.6)
+ @testing.with_requires('numpy>=1.17')
@testing.for_all_dtypes()
def test_polyvander_integral_float_degree(self, dtype):
for xp in (numpy, cupy):
