We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cc5229 commit 3e35a09Copy full SHA for 3e35a09
src/_pytest/pytester.py
@@ -1229,10 +1229,9 @@ def parseconfig(self, *args: str | os.PathLike[str]) -> Config:
1229
"""
1230
import _pytest.config
1231
1232
- new_args = self._ensure_basetemp(args)
1233
- new_args = [str(x) for x in new_args]
+ new_args = [str(x) for x in self._ensure_basetemp(args)]
1234
1235
- config = _pytest.config._prepareconfig(new_args, self.plugins) # type: ignore[arg-type]
+ config = _pytest.config._prepareconfig(new_args, self.plugins)
1236
# we don't know what the test will do with this half-setup config
1237
# object and thus we make sure it gets unconfigured properly in any
1238
# case (otherwise capturing could still be active, for example)
0 commit comments