Skip to content

Commit 2c647dd

Browse files
committed
Fix test_relaxed_wrap for compatibility with Python 3.12 and 3.13
1 parent 2c4b772 commit 2c647dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tests/test_pyodide.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def f4(a, /, *args, b=7):
280280

281281
with pytest.raises(
282282
TypeError,
283-
match=r"missing a required positional-only argument: 'a'",
283+
match=r"missing .* argument: 'a'"
284284
):
285285
relaxed_call(f4, a=2, b=7)
286286

@@ -343,7 +343,7 @@ def f4(a, /, *args, b=7):
343343

344344
with pytest.raises(
345345
TypeError,
346-
match=r"missing a required positional[- ]only argument: 'a'",
346+
match=r"missing .* argument: 'a'"
347347
):
348348
f4(a=2, b=7)
349349

0 commit comments

Comments
 (0)