@@ -81,6 +81,7 @@ def test_eye(N, M, k, dtype):
8181 numpy .testing .assert_array_equal (expected , result )
8282
8383
84+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
8485@pytest .mark .parametrize ("type" ,
8586 [numpy .float64 , numpy .float32 , numpy .int64 , numpy .int32 ],
8687 ids = ['float64' , 'float32' , 'int64' , 'int32' ])
@@ -93,6 +94,7 @@ def test_frombuffer(type):
9394 numpy .testing .assert_array_equal (dpnp_res , np_res )
9495
9596
97+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
9698@pytest .mark .parametrize ("type" ,
9799 [numpy .float64 , numpy .float32 , numpy .int64 , numpy .int32 ],
98100 ids = ['float64' , 'float32' , 'int64' , 'int32' ])
@@ -109,6 +111,7 @@ def test_fromfile(type):
109111 numpy .testing .assert_array_equal (dpnp_res , np_res )
110112
111113
114+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
112115@pytest .mark .parametrize ("type" ,
113116 [numpy .float64 , numpy .float32 , numpy .int64 , numpy .int32 ],
114117 ids = ['float64' , 'float32' , 'int64' , 'int32' ])
@@ -124,6 +127,7 @@ def func(x, y):
124127 numpy .testing .assert_array_equal (dpnp_res , np_res )
125128
126129
130+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
127131@pytest .mark .parametrize ("type" ,
128132 [numpy .float64 , numpy .float32 , numpy .int64 , numpy .int32 ],
129133 ids = ['float64' , 'float32' , 'int64' , 'int32' ])
@@ -136,6 +140,7 @@ def test_fromiter(type):
136140 numpy .testing .assert_array_equal (dpnp_res , np_res )
137141
138142
143+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
139144@pytest .mark .parametrize ("type" ,
140145 [numpy .float64 , numpy .float32 , numpy .int64 , numpy .int32 ],
141146 ids = ['float64' , 'float32' , 'int64' , 'int32' ])
@@ -148,6 +153,7 @@ def test_fromstring(type):
148153 numpy .testing .assert_array_equal (dpnp_res , np_res )
149154
150155
156+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
151157@pytest .mark .parametrize ("type" ,
152158 [numpy .float64 , numpy .float32 , numpy .int64 , numpy .int32 ],
153159 ids = ['float64' , 'float32' , 'int64' , 'int32' ])
@@ -183,6 +189,7 @@ def test_identity(n, type):
183189 numpy .testing .assert_array_equal (expected , result )
184190
185191
192+ @pytest .mark .usefixtures ("allow_fall_back_on_numpy" )
186193@pytest .mark .parametrize ("type" ,
187194 [numpy .float64 , numpy .float32 , numpy .int64 , numpy .int32 ],
188195 ids = ['float64' , 'float32' , 'int64' , 'int32' ])
0 commit comments