Skip to content

Commit 3e290f0

Browse files
s.logvinenkos.logvinenko
authored andcommitted
fix auth_test
1 parent 7e08ca7 commit 3e290f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/auth_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def test_ctrl_c_event(self):
122122

123123
def modify_pg_hba(node):
124124
hba_conf = os.path.join(node.data_dir, "pg_hba.conf")
125-
with open(hba_conf, 'r+', encoding='utf-8') as fio:
125+
with open(hba_conf, 'r+') as fio:
126126
data = fio.read()
127127
fio.seek(0)
128128
fio.write('host\tall\tpostgres\t127.0.0.1/0\ttrust\n' + data)

0 commit comments

Comments
 (0)