Skip to content

Commit e5a19d9

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2c647dd commit e5a19d9

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/tests/test_pyodide.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -278,10 +278,7 @@ def f3(a, *args, b=7):
278278
def f4(a, /, *args, b=7):
279279
return [a, args, b]
280280

281-
with pytest.raises(
282-
TypeError,
283-
match=r"missing .* argument: 'a'"
284-
):
281+
with pytest.raises(TypeError, match=r"missing .* argument: 'a'"):
285282
relaxed_call(f4, a=2, b=7)
286283

287284
def f5(a, *args, b=7, **kwargs):
@@ -341,13 +338,9 @@ def f3(a, *args, b=7):
341338
def f4(a, /, *args, b=7):
342339
return [a, args, b]
343340

344-
with pytest.raises(
345-
TypeError,
346-
match=r"missing .* argument: 'a'"
347-
):
341+
with pytest.raises(TypeError, match=r"missing .* argument: 'a'"):
348342
f4(a=2, b=7)
349343

350-
351344
@relaxed_wrap
352345
def f5(a, *args, b=7, **kwargs):
353346
return [a, args, b, kwargs]

0 commit comments

Comments
 (0)