diff --git a/pytest_mypy_plugins/item.py b/pytest_mypy_plugins/item.py index c5d3a89..cb34552 100644 --- a/pytest_mypy_plugins/item.py +++ b/pytest_mypy_plugins/item.py @@ -406,7 +406,7 @@ def runtest(self) -> None: ): self.execute_extension_hook() - execution_path = Path(temp_dir.name) + execution_path = Path(temp_dir.name).absolute() with utils.cd(execution_path): mypy_executor = MypyExecutor( same_process=self.same_process,