@@ -31,14 +31,12 @@ def test_erfc(self):
3131 def test_erfcx (self ):
3232 self .check_unary ("erfcx" )
3333
34- @pytest .mark .skip ("erfinv() is not supported yet" )
3534 def test_erfinv (self ):
3635 self .check_unary ("erfinv" )
3736 self .check_unary_random ("erfinv" , scale = 2 , offset = - 1 )
3837 self .check_unary_boundary ("erfinv" , boundary = - 1 )
3938 self .check_unary_boundary ("erfinv" , boundary = 1 )
4039
41- @pytest .mark .skip ("erfcinv() is not supported yet" )
4240 def test_erfcinv (self ):
4341 self .check_unary ("erfcinv" )
4442 self .check_unary_random ("erfcinv" , scale = 2 , offset = 0 )
@@ -75,42 +73,40 @@ def check_unary_boundary(self, name, xp, scp, dtype, boundary):
7573 a = xp .array (a , dtype = dtype )
7674 return getattr (scp .special , name )(a )
7775
78- @pytest .mark .skip ("erfinv() is not supported yet" )
7976 @testing .with_requires ("scipy>=1.4.0" )
8077 @testing .for_dtypes (["f" , "d" ])
8178 def test_erfinv_behavior (self , dtype ):
8279 a = cupy .empty ((1 ,), dtype = dtype )
8380
8481 a [:] = 1.0 + 1e-6
85- a = cupyx .scipy .special .erfinv (a )
82+ a = cupy .scipy .special .erfinv (a )
8683 assert cupy .isnan (a )
8784 a [:] = - 1.0 - 1e-6
88- a = cupyx .scipy .special .erfinv (a )
85+ a = cupy .scipy .special .erfinv (a )
8986 assert cupy .isnan (a )
9087 a [:] = 1.0
91- a = cupyx .scipy .special .erfinv (a )
88+ a = cupy .scipy .special .erfinv (a )
9289 assert numpy .isposinf (cupy .asnumpy (a ))
9390 a [:] = - 1.0
94- a = cupyx .scipy .special .erfinv (a )
91+ a = cupy .scipy .special .erfinv (a )
9592 assert numpy .isneginf (cupy .asnumpy (a ))
9693
97- @pytest .mark .skip ("erfcinv() is not supported yet" )
9894 @testing .with_requires ("scipy>=1.4.0" )
9995 @testing .for_dtypes (["f" , "d" ])
10096 def test_erfcinv_behavior (self , dtype ):
10197 a = cupy .empty ((1 ,), dtype = dtype )
10298
10399 a [:] = 2.0 + 1e-6
104- a = cupyx .scipy .special .erfcinv (a )
100+ a = cupy .scipy .special .erfcinv (a )
105101 assert cupy .isnan (a )
106102 a [:] = 0.0 - 1e-6
107- a = cupyx .scipy .special .erfcinv (a )
103+ a = cupy .scipy .special .erfcinv (a )
108104 assert cupy .isnan (a )
109105 a [:] = 0.0
110- a = cupyx .scipy .special .erfcinv (a )
106+ a = cupy .scipy .special .erfcinv (a )
111107 assert numpy .isposinf (cupy .asnumpy (a ))
112108 a [:] = 2.0
113- a = cupyx .scipy .special .erfcinv (a )
109+ a = cupy .scipy .special .erfcinv (a )
114110 assert numpy .isneginf (cupy .asnumpy (a ))
115111
116112
0 commit comments