(
self, args: Sequence[str | os.PathLike[str]]
)
| 1219 | raise RuntimeError(f"Unrecognized runpytest option: {self._method}") |
| 1220 | |
| 1221 | def _ensure_basetemp( |
| 1222 | self, args: Sequence[str | os.PathLike[str]] |
| 1223 | ) -> list[str | os.PathLike[str]]: |
| 1224 | new_args = list(args) |
| 1225 | for x in new_args: |
| 1226 | if str(x).startswith("--basetemp"): |
| 1227 | break |
| 1228 | else: |
| 1229 | new_args.append( |
| 1230 | "--basetemp={}".format(self.path.parent.joinpath("basetemp")) |
| 1231 | ) |
| 1232 | return new_args |
| 1233 | |
| 1234 | def parseconfig(self, *args: str | os.PathLike[str]) -> Config: |
| 1235 | """Return a new pytest :class:`pytest.Config` instance from given |
no test coverage detected