Skip to content

Commit 4d50edd

Browse files
author
vshepard
committed
Fix test_the_same_port
1 parent 81c579c commit 4d50edd

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

tests/test_remote.py

-1
Original file line numberDiff line numberDiff line change
@@ -213,4 +213,3 @@ def test_skip_ssl(self):
213213
if isinstance(res, list):
214214
res.sort()
215215
assert res == [(1,), (2,)]
216-

tests/test_simple.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -1039,10 +1039,9 @@ def test_parse_pg_version(self):
10391039
def test_the_same_port(self):
10401040
with get_new_node() as node:
10411041
node.init().start()
1042-
1043-
with get_new_node() as node2:
1044-
node2.port = node.port
1045-
node2.init().start()
1042+
with get_new_node() as node2:
1043+
node2.port = node.port
1044+
node2.init().start()
10461045

10471046

10481047
if __name__ == '__main__':

0 commit comments

Comments
 (0)