Skip to content

Commit 7c7e16e

Browse files
committed
fixtures: remove two unused functions
Not used since 310b67b.
1 parent 7c204f6 commit 7c7e16e

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/_pytest/fixtures.py

-16
Original file line numberDiff line numberDiff line change
@@ -1172,22 +1172,6 @@ def pytest_fixture_setup(
11721172
return result
11731173

11741174

1175-
def _ensure_immutable_ids(
1176-
ids: Optional[Union[Sequence[Optional[object]], Callable[[Any], Optional[object]]]]
1177-
) -> Optional[Union[Tuple[Optional[object], ...], Callable[[Any], Optional[object]]]]:
1178-
if ids is None:
1179-
return None
1180-
if callable(ids):
1181-
return ids
1182-
return tuple(ids)
1183-
1184-
1185-
def _params_converter(
1186-
params: Optional[Iterable[object]],
1187-
) -> Optional[Tuple[object, ...]]:
1188-
return tuple(params) if params is not None else None
1189-
1190-
11911175
def wrap_function_to_error_out_if_called_directly(
11921176
function: FixtureFunction,
11931177
fixture_marker: "FixtureFunctionMarker",

0 commit comments

Comments
 (0)