@@ -105,7 +105,7 @@ def _test_unary_func_impl(np_func, blosc_func, dtype, shape, chunkshape):
105105 ):
106106 assert True
107107 else :
108- raise e
108+ raise
109109
110110
111111def _test_binary_func_proxy (np_func , blosc_func , dtype , shape , chunkshape , xp ):
@@ -168,12 +168,12 @@ def _test_binary_func_proxy(np_func, blosc_func, dtype, shape, chunkshape, xp):
168168 ): # not supported for complex dtypes
169169 assert True
170170 else :
171- raise e
171+ raise
172172 except NotImplementedError as e :
173173 if np_func .__name__ in ("left_shift" , "right_shift" , "floor_divide" , "power" , "remainder" ):
174174 assert True
175175 else :
176- raise e
176+ raise
177177 except AssertionError as e :
178178 if np_func .__name__ == "power" and blosc2 .isdtype (
179179 dtype , "integral"
@@ -189,7 +189,7 @@ def _test_binary_func_proxy(np_func, blosc_func, dtype, shape, chunkshape, xp):
189189 )
190190 pytest .skip ("minimum and maximum for numexpr do not match NaN behaviour for numpy" )
191191 else :
192- raise e
192+ raise
193193
194194
195195def _test_unary_func_proxy (np_func , blosc_func , dtype , shape , xp ):
@@ -228,7 +228,7 @@ def _test_unary_func_proxy(np_func, blosc_func, dtype, shape, xp):
228228 ):
229229 assert True
230230 else :
231- raise e
231+ raise
232232
233233
234234def _test_binary_func_impl (np_func , blosc_func , dtype , shape , chunkshape ):
@@ -283,12 +283,12 @@ def _test_binary_func_impl(np_func, blosc_func, dtype, shape, chunkshape):
283283 ): # not supported for complex dtypes
284284 assert True
285285 else :
286- raise e
286+ raise
287287 except NotImplementedError as e :
288288 if np_func .__name__ in ("left_shift" , "right_shift" , "floor_divide" , "power" , "remainder" ):
289289 assert True
290290 else :
291- raise e
291+ raise
292292 except AssertionError as e :
293293 if np_func .__name__ == "power" and blosc2 .isdtype (
294294 dtype , "integral"
@@ -304,7 +304,7 @@ def _test_binary_func_impl(np_func, blosc_func, dtype, shape, chunkshape):
304304 )
305305 pytest .skip ("minimum and maximum for numexpr do not match NaN behaviour for numpy" )
306306 else :
307- raise e
307+ raise
308308
309309
310310@pytest .mark .parametrize (("np_func" , "blosc_func" ), UNARY_FUNC_PAIRS )
0 commit comments