Like addoption(), but also allows registering short lower case options (e.g. -x), which are reserved for pytest core.
(self, *opts: str, **attrs: Any)
| 358 | self._addoption_inner(opts, attrs, allow_reserved=False) |
| 359 | |
| 360 | def _addoption(self, *opts: str, **attrs: Any) -> None: |
| 361 | """Like addoption(), but also allows registering short lower case options (e.g. -x), |
| 362 | which are reserved for pytest core.""" |
| 363 | self._addoption_inner(opts, attrs, allow_reserved=True) |
| 364 | |
| 365 | def _addoption_inner( |
| 366 | self, opts: tuple[str, ...], attrs: dict[str, Any], allow_reserved: bool |