@@ -299,11 +299,12 @@ def _check_divmod_op(self, s, op, other, exc=NotImplementedError):
299
299
def test_error (self ):
300
300
pass
301
301
302
- def test_arith_diff_lengths (self ):
303
- # TODO
304
- # Raise ValueError when carrying out arithmetic operation
305
- # on two decimal arrays of different lengths
306
- pass
302
+ # TODO
303
+ # Raise ValueError when carrying out arithmetic operation
304
+ # on two decimal arrays of different lengths
305
+ @pytest .mark .xfail (reason = "raise of ValueError not implemented" )
306
+ def test_arith_diff_lengths (self , data , all_compare_operators ):
307
+ super ().test_arith_diff_lengths (data , all_compare_operators )
307
308
308
309
309
310
class TestComparisonOps (BaseDecimal , base .BaseComparisonOpsTests ):
@@ -330,10 +331,11 @@ def test_compare_array(self, data, all_compare_operators):
330
331
for i in alter ]
331
332
self ._compare_other (s , data , op_name , other )
332
333
333
- def test_compare_diff_lengths (self ):
334
- # TODO:
335
- # Raise ValueError when comparing decimal arrays of different lenghts
336
- pass
334
+ # TODO:
335
+ # Raise ValueError when comparing decimal arrays of different lenghts
336
+ @pytest .mark .xfail (reason = "raise of ValueError not implemented" )
337
+ def test_compare_diff_lengths (self , data , all_compare_operators ):
338
+ super ().test_compare_diff_lenths (data , all_compare_operators )
337
339
338
340
339
341
class DecimalArrayWithoutFromSequence (DecimalArray ):
0 commit comments