MCPcopy
hub / github.com/pytest-dev/pytest / all_kwargs

Function all_kwargs

src/_pytest/mark/expression.py:248–252  ·  view source on GitHub ↗
(s: Scanner)

Source from the content-addressed store, hash-verified

246
247
248def all_kwargs(s: Scanner) -> list[ast.keyword]:
249 ret = [single_kwarg(s)]
250 while s.accept(TokenType.COMMA):
251 ret.append(single_kwarg(s))
252 return ret
253
254
255class ExpressionMatcher(Protocol):

Callers 1

not_exprFunction · 0.85

Calls 3

single_kwargFunction · 0.85
acceptMethod · 0.80
appendMethod · 0.80

Tested by

no test coverage detected