From c2f390a4dc6c8cae4bb464e5b6582c6569b638b3 Mon Sep 17 00:00:00 2001 From: Leo Singer Date: Thu, 29 Jan 2026 16:39:36 -0500 Subject: [PATCH 1/2] Fix typos --- pytest_postgresql/executor.py | 2 +- pytest_postgresql/factories/process.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pytest_postgresql/executor.py b/pytest_postgresql/executor.py index 17cf0bd3..ef027739 100644 --- a/pytest_postgresql/executor.py +++ b/pytest_postgresql/executor.py @@ -204,7 +204,7 @@ def version(self) -> Any: version_string = subprocess.check_output([self.executable, "--version"]).decode("utf-8") except FileNotFoundError as ex: raise ExecutableMissingException( - f"Could not found {self.executable}. Is PostgreSQL server installed? " + f"Could not find {self.executable}. Is PostgreSQL server installed? " f"Alternatively pg_config installed might be from different " f"version that postgresql-server." ) from ex diff --git a/pytest_postgresql/factories/process.py b/pytest_postgresql/factories/process.py index b19acdbe..27fab57f 100644 --- a/pytest_postgresql/factories/process.py +++ b/pytest_postgresql/factories/process.py @@ -45,7 +45,7 @@ def _pg_exe(executable: str | None, config: PostgreSQLConfig) -> str: try: pg_bindir = subprocess.check_output(["pg_config", "--bindir"], universal_newlines=True).strip() except FileNotFoundError as ex: - raise ExecutableMissingException("Could not found pg_config executable. Is it in systenm $PATH?") from ex + raise ExecutableMissingException("Could not find pg_config executable. Is it in system $PATH?") from ex postgresql_ctl = os.path.join(pg_bindir, "pg_ctl") return postgresql_ctl From ee3bdb3d7e70a90e543e986b4cd757399b991729 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20=C5=9Aliwi=C5=84ski?= Date: Fri, 6 Feb 2026 22:31:39 +0100 Subject: [PATCH 2/2] Add newsfragment --- newsfragments/1267.misc.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 newsfragments/1267.misc.rst diff --git a/newsfragments/1267.misc.rst b/newsfragments/1267.misc.rst new file mode 100644 index 00000000..4400d129 --- /dev/null +++ b/newsfragments/1267.misc.rst @@ -0,0 +1 @@ +Fix typos