Skip to content

Commit 31a1cf3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ea85cb3 commit 31a1cf3

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

tests/test_windows_compatibility.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ def test_stop_method_windows(self):
107107
patch("platform.system", return_value="Windows"),
108108
patch.object(executor, "_windows_terminate_process") as mock_terminate,
109109
):
110-
111110
result = executor.stop()
112111

113112
# Should call pg_ctl stop and Windows terminate
@@ -134,7 +133,6 @@ def test_stop_method_unix(self):
134133
patch("platform.system", return_value="Linux"),
135134
patch("pytest_postgresql.executor.TCPExecutor.stop") as mock_super_stop,
136135
):
137-
138136
mock_super_stop.return_value = executor
139137
result = executor.stop()
140138

@@ -166,7 +164,6 @@ def test_stop_method_fallback_on_killpg_error(self):
166164
),
167165
patch.object(executor, "_windows_terminate_process") as mock_terminate,
168166
):
169-
170167
result = executor.stop()
171168

172169
# Should call pg_ctl stop, fail on super().stop, then use Windows terminate

0 commit comments

Comments
 (0)