8000 tests: fix · postgrespro/pg_probackup@fc50cf0 · GitHub
[go: up one dir, main page]

Skip to content

Commit fc50cf0

Browse files
committed
tests: fix
travis uses old image with python3.5
1 parent 02e3fb0 commit fc50cf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/helpers/ptrack_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def table_checksum(self, table, dbname="postgres"):
220220
# hash uses SipHash since Python3.4, therefore it is good enough
221221
sum.update(row[0].encode('utf8'))
222222

223-
con.execute(f"CLOSE {curname}; ROLLBACK;")
223+
con.execute("CLOSE %s; ROLLBACK;" % curname)
224224

225225
con.close()
226226
return sum.hexdigest()

0 commit comments

Comments
 (0)
0