File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments