Return a new pytest configured Config instance. Returns a new :py:class:`pytest.Config` instance like :py:meth:`parseconfig`, but also calls the :hook:`pytest_configure` hook.
(self, *args: str | os.PathLike[str])
| 1255 | return config |
| 1256 | |
| 1257 | def parseconfigure(self, *args: str | os.PathLike[str]) -> Config: |
| 1258 | """Return a new pytest configured Config instance. |
| 1259 | |
| 1260 | Returns a new :py:class:`pytest.Config` instance like |
| 1261 | :py:meth:`parseconfig`, but also calls the :hook:`pytest_configure` |
| 1262 | hook. |
| 1263 | """ |
| 1264 | config = self.parseconfig(*args) |
| 1265 | config._do_configure() |
| 1266 | return config |
| 1267 | |
| 1268 | def getitem( |
| 1269 | self, source: str | os.PathLike[str], funcname: str = "test_func" |
no test coverage detected