Skip to content

Commit 771d3eb

Browse files
Unskip cupy tests for interp
1 parent ae65091 commit 771d3eb

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

dpnp/tests/third_party/cupy/math_tests/test_misc.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,6 @@ def test_real_if_close_with_float_tol_false(self, xp, dtype):
367367
assert x.dtype == out.dtype
368368
return out
369369

370-
@pytest.mark.skip("interp() is not supported yet")
371370
@testing.for_all_dtypes(name="dtype_x", no_bool=True, no_complex=True)
372371
@testing.for_all_dtypes(name="dtype_y", no_bool=True)
373372
@testing.numpy_cupy_allclose(atol=1e-5)
@@ -378,7 +377,6 @@ def test_interp(self, xp, dtype_y, dtype_x):
378377
fy = xp.sin(fx).astype(dtype_y)
379378
return xp.interp(x, fx, fy)
380379

381-
@pytest.mark.skip("interp() is not supported yet")
382380
@testing.for_all_dtypes(name="dtype_x", no_bool=True, no_complex=True)
383381
@testing.for_all_dtypes(name="dtype_y", no_bool=True)
384382
@testing.numpy_cupy_allclose(atol=1e-5)
@@ -389,7 +387,6 @@ def test_interp_period(self, xp, dtype_y, dtype_x):
389387
fy = xp.sin(fx).astype(dtype_y)
390388
return xp.interp(x, fx, fy, period=5)
391389

392-
@pytest.mark.skip("interp() is not supported yet")
393390
@testing.for_all_dtypes(name="dtype_x", no_bool=True, no_complex=True)
394391
@testing.for_all_dtypes(name="dtype_y", no_bool=True)
395392
@testing.numpy_cupy_allclose(atol=1e-5)
@@ -402,7 +399,6 @@ def test_interp_left_right(self, xp, dtype_y, dtype_x):
402399
right = 20
403400
return xp.interp(x, fx, fy, left, right)
404401

405-
@pytest.mark.skip("interp() is not supported yet")
406402
@testing.with_requires("numpy>=1.17.0")
407403
@testing.for_all_dtypes(name="dtype_x", no_bool=True, no_complex=True)
408404
@testing.for_dtypes("efdFD", name="dtype_y")
@@ -415,7 +411,6 @@ def test_interp_nan_fy(self, xp, dtype_y, dtype_x):
415411
fy[0] = fy[2] = fy[-1] = numpy.nan
416412
return xp.interp(x, fx, fy)
417413

418-
@pytest.mark.skip("interp() is not supported yet")
419414
@testing.with_requires("numpy>=1.17.0")
420415
@testing.for_float_dtypes(name="dtype_x")
421416
@testing.for_dtypes("efdFD", name="dtype_y")
@@ -428,7 +423,6 @@ def test_interp_nan_fx(self, xp, dtype_y, dtype_x):
428423
fx[-1] = numpy.nan # x and fx must remain sorted (NaNs are the last)
429424
return xp.interp(x, fx, fy)
430425

431-
@pytest.mark.skip("interp() is not supported yet")
432426
@testing.with_requires("numpy>=1.17.0")
433427
@testing.for_float_dtypes(name="dtype_x")
434428
@testing.for_dtypes("efdFD", name="dtype_y")
@@ -441,7 +435,6 @@ def test_interp_nan_x(self, xp, dtype_y, dtype_x):
441435
x[-1] = numpy.nan # x and fx must remain sorted (NaNs are the last)
442436
return xp.interp(x, fx, fy)
443437

444-
@pytest.mark.skip("interp() is not supported yet")
445438
@testing.with_requires("numpy>=1.17.0")
446439
@testing.for_all_dtypes(name="dtype_x", no_bool=True, no_complex=True)
447440
@testing.for_dtypes("efdFD", name="dtype_y")
@@ -454,7 +447,6 @@ def test_interp_inf_fy(self, xp, dtype_y, dtype_x):
454447
fy[0] = fy[2] = fy[-1] = numpy.inf
455448
return xp.interp(x, fx, fy)
456449

457-
@pytest.mark.skip("interp() is not supported yet")
458450
@testing.with_requires("numpy>=1.17.0")
459451
@testing.for_float_dtypes(name="dtype_x")
460452
@testing.for_dtypes("efdFD", name="dtype_y")
@@ -467,7 +459,6 @@ def test_interp_inf_fx(self, xp, dtype_y, dtype_x):
467459
fx[-1] = numpy.inf # x and fx must remain sorted
468460
return xp.interp(x, fx, fy)
469461

470-
@pytest.mark.skip("interp() is not supported yet")
471462
@testing.with_requires("numpy>=1.17.0")
472463
@testing.for_float_dtypes(name="dtype_x")
473464
@testing.for_dtypes("efdFD", name="dtype_y")
@@ -480,7 +471,6 @@ def test_interp_inf_x(self, xp, dtype_y, dtype_x):
480471
x[-1] = numpy.inf # x and fx must remain sorted
481472
return xp.interp(x, fx, fy)
482473

483-
@pytest.mark.skip("interp() is not supported yet")
484474
@testing.for_all_dtypes(name="dtype_x", no_bool=True, no_complex=True)
485475
@testing.for_all_dtypes(name="dtype_y", no_bool=True)
486476
@testing.numpy_cupy_allclose(atol=1e-5)
@@ -493,7 +483,6 @@ def test_interp_size1(self, xp, dtype_y, dtype_x):
493483
right = 20
494484
return xp.interp(x, fx, fy, left, right)
495485

496-
@pytest.mark.skip("interp() is not supported yet")
497486
@testing.with_requires("numpy>=1.17.0")
498487
@testing.for_float_dtypes(name="dtype_x")
499488
@testing.for_dtypes("efdFD", name="dtype_y")

0 commit comments

Comments
 (0)