@@ -81,6 +81,7 @@ def test_eye(N, M, k, dtype):
81
81
numpy .testing .assert_array_equal (expected , result )
82
82
83
83
84
+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
84
85
@pytest .mark .parametrize ("type" ,
85
86
[numpy .float64 , numpy .float32 , numpy .int64 , numpy .int32 ],
86
87
ids = ['float64' , 'float32' , 'int64' , 'int32' ])
@@ -93,6 +94,7 @@ def test_frombuffer(type):
93
94
numpy .testing .assert_array_equal (dpnp_res , np_res )
94
95
95
96
97
+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
96
98
@pytest .mark .parametrize ("type" ,
97
99
[numpy .float64 , numpy .float32 , numpy .int64 , numpy .int32 ],
98
100
ids = ['float64' , 'float32' , 'int64' , 'int32' ])
@@ -109,6 +111,7 @@ def test_fromfile(type):
109
111
numpy .testing .assert_array_equal (dpnp_res , np_res )
110
112
111
113
114
+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
112
115
@pytest .mark .parametrize ("type" ,
113
116
[numpy .float64 , numpy .float32 , numpy .int64 , numpy .int32 ],
114
117
ids = ['float64' , 'float32' , 'int64' , 'int32' ])
@@ -124,6 +127,7 @@ def func(x, y):
124
127
numpy .testing .assert_array_equal (dpnp_res , np_res )
125
128
126
129
130
+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
127
131
@pytest .mark .parametrize ("type" ,
128
132
[numpy .float64 , numpy .float32 , numpy .int64 , numpy .int32 ],
129
133
ids = ['float64' , 'float32' , 'int64' , 'int32' ])
@@ -136,6 +140,7 @@ def test_fromiter(type):
136
140
numpy .testing .assert_array_equal (dpnp_res , np_res )
137
141
138
142
143
+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
139
144
@pytest .mark .parametrize ("type" ,
140
145
[numpy .float64 , numpy .float32 , numpy .int64 , numpy .int32 ],
141
146
ids = ['float64' , 'float32' , 'int64' , 'int32' ])
@@ -148,6 +153,7 @@ def test_fromstring(type):
148
153
numpy .testing .assert_array_equal (dpnp_res , np_res )
149
154
150
155
156
+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
151
157
@pytest .mark .parametrize ("type" ,
152
158
[numpy .float64 , numpy .float32 , numpy .int64 , numpy .int32 ],
153
159
ids = ['float64' , 'float32' , 'int64' , 'int32' ])
@@ -183,6 +189,7 @@ def test_identity(n, type):
183
189
numpy .testing .assert_array_equal (expected , result )
184
190
185
191
192
+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
186
193
@pytest .mark .parametrize ("type" ,
187
194
[numpy .float64 , numpy .float32 , numpy .int64 , numpy .int32 ],
188
195
ids = ['float64' , 'float32' , 'int64' , 'int32' ])
0 commit comments