@@ -45,6 +45,7 @@ def check_seed(self, dist_name, params):
4545 assert_allclose (a1 , a2 , rtol = 1e-07 , atol = 0 )
4646
4747
48+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
4849@pytest .mark .parametrize (
4950 "func" ,
5051 [dpnp .random .chisquare , dpnp .random .rand , dpnp .random .randn ],
@@ -61,6 +62,7 @@ def test_input_size(func):
6162 assert output_shape == res .shape
6263
6364
65+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
6466@pytest .mark .parametrize (
6567 "func" ,
6668 [
@@ -82,6 +84,7 @@ def test_input_shape(func):
8284 assert shape == res .shape
8385
8486
87+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
8588@pytest .mark .parametrize (
8689 "func" ,
8790 [
@@ -104,6 +107,7 @@ def test_check_output(func):
104107 assert dpnp .all (res < 1 )
105108
106109
110+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
107111@pytest .mark .parametrize (
108112 "func" ,
109113 [
@@ -130,6 +134,7 @@ def test_seed(func):
130134 assert_allclose (a1 , a2 , rtol = 1e-07 , atol = 0 )
131135
132136
137+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
133138def test_randn_normal_distribution ():
134139 """
135140 Check the moments of the normal distribution sample obtained
@@ -667,6 +672,7 @@ def test_seed(self):
667672
668673
669674@pytest .mark .skipif (not has_support_aspect64 (), reason = "Failed on Iris Xe" )
675+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
670676class TestDistributionsNormal (TestDistribution ):
671677 def test_extreme_value (self ):
672678 loc = 5
@@ -827,11 +833,13 @@ def test_seed(self):
827833 self .check_seed ("rayleigh" , {"scale" : scale })
828834
829835
836+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
830837class TestDistributionsStandardCauchy (TestDistribution ):
831838 def test_seed (self ):
832839 self .check_seed ("standard_cauchy" , {})
833840
834841
842+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
835843class TestDistributionsStandardExponential (TestDistribution ):
836844 def test_moments (self ):
837845 shape = 0.8
@@ -867,6 +875,7 @@ def test_seed(self):
867875 self .check_seed ("standard_gamma" , {"shape" : 0.0 })
868876
869877
878+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
870879class TestDistributionsStandardNormal (TestDistribution ):
871880 def test_moments (self ):
872881 expected_mean = 0.0
@@ -944,6 +953,7 @@ def test_seed(self):
944953
945954
946955@pytest .mark .skipif (not has_support_aspect64 (), reason = "Failed on Iris Xe" )
956+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
947957class TestDistributionsUniform (TestDistribution ):
948958 def test_extreme_value (self ):
949959 low = 1.0
@@ -1070,6 +1080,7 @@ def test_seed(self):
10701080 self .check_seed ("zipf" , {"a" : a })
10711081
10721082
1083+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
10731084class TestPermutationsTestShuffle :
10741085 @pytest .mark .parametrize (
10751086 "dtype" ,
0 commit comments