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)
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