11import unittest
22
3- import numpy
43import pytest
54
6- import dpnp as cupy
75from dpnp .tests .helper import has_support_aspect64
86from dpnp .tests .third_party .cupy import testing
97from dpnp .tests .third_party .cupy .testing ._loops import (
@@ -316,7 +314,6 @@ def test_unique_equal_nan(self, xp, dtype, equal_nan):
316314 )
317315 return xp .unique (a , axis = 1 , equal_nan = equal_nan )
318316
319- @pytest .mark .skip ("unique_all() is not supported yet" )
320317 @testing .with_requires ("numpy>=2.0" )
321318 @pytest .mark .parametrize (
322319 "attr" , ["values" , "indices" , "inverse_indices" , "counts" ]
@@ -327,7 +324,6 @@ def test_unique_all(self, xp, dtype, attr):
327324 a = testing .shaped_random ((100 , 100 ), xp , dtype )
328325 return getattr (xp .unique_all (a ), attr )
329326
330- @pytest .mark .skip ("unique_counts() is not supported yet" )
331327 @testing .with_requires ("numpy>=2.0" )
332328 @pytest .mark .parametrize ("attr" , ["values" , "counts" ])
333329 @testing .for_all_dtypes (no_float16 = True , no_bool = True , no_complex = True )
@@ -336,7 +332,6 @@ def test_unique_counts(self, xp, dtype, attr):
336332 a = testing .shaped_random ((100 , 100 ), xp , dtype )
337333 return getattr (xp .unique_counts (a ), attr )
338334
339- @pytest .mark .skip ("unique_inverse() is not supported yet" )
340335 @testing .with_requires ("numpy>=2.0" )
341336 @pytest .mark .parametrize ("attr" , ["values" , "inverse_indices" ])
342337 @testing .for_all_dtypes (no_float16 = True , no_bool = True , no_complex = True )
@@ -345,7 +340,6 @@ def test_unique_inverse(self, xp, dtype, attr):
345340 a = testing .shaped_random ((100 , 100 ), xp , dtype )
346341 return getattr (xp .unique_inverse (a ), attr )
347342
348- @pytest .mark .skip ("unique_values() is not supported yet" )
349343 @testing .with_requires ("numpy>=2.0" )
350344 @testing .for_all_dtypes (no_float16 = True , no_bool = True , no_complex = True )
351345 @testing .numpy_cupy_array_equal ()
0 commit comments