Skip to content

Commit 2eaaa03

Browse files
authored
fix: Adjust test error message for 32bit machines (#3547)
1 parent f028a2a commit 2eaaa03

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/expr_and_series/map_batches_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ def test_map_batches_exception(
8282
df = nw.from_native(constructor_eager(data))
8383
msg = (
8484
r"`map(?:_batches)?` with `returns_scalar=False` must return a Series; found "
85-
"'numpy.int64'.\n\nIf `returns_scalar` is set to `True`, a returned value can be "
85+
r"'numpy\.int(?:32|64)'\."
86+
"\n\nIf `returns_scalar` is set to `True`, a returned value can be "
8687
"a scalar value."
8788
)
8889

0 commit comments

Comments
 (0)