Skip to content

Commit e69fcc3

Browse files
committed
Rename parameter in _windows_terminate_process method for clarity
1 parent 54140ac commit e69fcc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytest_postgresql/executor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,10 @@ def running(self) -> bool:
223223
status_code = subprocess.getstatusoutput(f'{self.executable} status -D "{self.datadir}"')[0]
224224
return status_code == 0
225225

226-
def _windows_terminate_process(self, sig: Optional[int] = None) -> None:
226+
def _windows_terminate_process(self, _sig: Optional[int] = None) -> None:
227227
"""Terminate process on Windows.
228228
229-
:param sig: Signal parameter (unused on Windows but included for consistency)
229+
:param _sig: Signal parameter (unused on Windows but included for consistency)
230230
"""
231231
if self.process is None:
232232
return

0 commit comments

Comments
 (0)