We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e08ca7 commit 3e290f0Copy full SHA for 3e290f0
tests/auth_test.py
@@ -122,7 +122,7 @@ def test_ctrl_c_event(self):
122
123
def modify_pg_hba(node):
124
hba_conf = os.path.join(node.data_dir, "pg_hba.conf")
125
- with open(hba_conf, 'r+', encoding='utf-8') as fio:
+ with open(hba_conf, 'r+') as fio:
126
data = fio.read()
127
fio.seek(0)
128
fio.write('host\tall\tpostgres\t127.0.0.1/0\ttrust\n' + data)
0 commit comments