Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pytest_postgresql/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pytest_postgresql/factories/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading