:meta private:
(
self,
name: str,
args: Tuple[Any, ...],
kwargs: Mapping[str, Any],
param_ids_from: Optional["Mark"] = None,
param_ids_generated: Optional[Sequence[str]] = None,
*,
_ispytest: bool = False,
)
| 211 | _param_ids_generated: Optional[Sequence[str]] = attr.ib(default=None, repr=False) |
| 212 | |
| 213 | def __init__( |
| 214 | self, |
| 215 | name: str, |
| 216 | args: Tuple[Any, ...], |
| 217 | kwargs: Mapping[str, Any], |
| 218 | param_ids_from: Optional["Mark"] = None, |
| 219 | param_ids_generated: Optional[Sequence[str]] = None, |
| 220 | *, |
| 221 | _ispytest: bool = False, |
| 222 | ) -> None: |
| 223 | """:meta private:""" |
| 224 | check_ispytest(_ispytest) |
| 225 | # Weirdness to bypass frozen=True. |
| 226 | object.__setattr__(self, "name", name) |
| 227 | object.__setattr__(self, "args", args) |
| 228 | object.__setattr__(self, "kwargs", kwargs) |
| 229 | object.__setattr__(self, "_param_ids_from", param_ids_from) |
| 230 | object.__setattr__(self, "_param_ids_generated", param_ids_generated) |
| 231 | |
| 232 | def _has_param_ids(self) -> bool: |
| 233 | return "ids" in self.kwargs or len(self.args) >= 4 |
nothing calls this directly
no test coverage detected