MCPcopy Create free account
hub / github.com/pytest-dev/pytest / _params_converter

Function _params_converter

src/_pytest/fixtures.py:1152–1155  ·  view source on GitHub ↗
(
    params: Optional[Iterable[object]],
)

Source from the content-addressed store, hash-verified

1150
1151
1152def _params_converter(
1153 params: Optional[Iterable[object]],
1154) -> Optional[Tuple[object, ...]]:
1155 return tuple(params) if params is not None else None
1156
1157
1158def wrap_function_to_error_out_if_called_directly(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected