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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy