Skip to content

Commit 660ab62

Browse files
[windows] PostgresNode.start (LOCAL__start_node) is corrected
[BUG FIX] execute_utility may return None in error.
1 parent 0139bbd commit 660ab62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testgres/node.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ def start(self, params=[], wait=True):
792792

793793
def LOCAL__start_node():
794794
_, _, error = execute_utility(_params, self.utils_log_file, verbose=True)
795-
assert type(error) == str # noqa: E721
795+
assert error is None or type(error) == str # noqa: E721
796796
if error and 'does not exist' in error:
797797
raise Exception(error)
798798

0 commit comments

Comments
 (0)