Skip to content

Commit 89c8f8b

Browse files
committed
Match
1 parent b3d4747 commit 89c8f8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/arrays/sparse/test_arithmetics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ def test_mismatched_length_cmp_op(cons):
477477
)
478478
def test_mismatched_length_arith_op(a, b, all_arithmetic_functions):
479479
op = all_arithmetic_functions
480-
with pytest.raises(AssertionError):
480+
with pytest.raises(AssertionError, match=f"length mismatch: {len(a)} vs. {len(b)}"):
481481
op(a, b)
482482

483483

0 commit comments

Comments
 (0)