Skip to content

Commit 5d44d4d

Browse files
author
Artur Zakirov
committed
Style fixes
1 parent a553b28 commit 5d44d4d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tests/pglist_tests.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#coding: utf-8
1+
# coding: utf-8
22
"""
33
Test RUM index with big base 'pglist'
44
@@ -56,7 +56,8 @@ def init_pglist_data(self, node):
5656
pglist_dumpgz = pglist_dump + ".gz"
5757
if not os.path.isfile(pglist_dumpgz):
5858
print("Downloading: %s" % pglist_dumpgz)
59-
request.urlretrieve("http://www.sai.msu.su/~megera/postgres/files/pglist-28-04-16.dump.gz",
59+
request.urlretrieve(
60+
"http://www.sai.msu.su/~megera/postgres/files/pglist-28-04-16.dump.gz",
6061
pglist_dumpgz)
6162

6263
print("Decompressing: %s" % pglist_dumpgz)
@@ -83,7 +84,8 @@ def test_order_by(self):
8384
try:
8485
print("Creating index 'rumidx_orderby_sent'")
8586

86-
self.node.safe_psql("pglist",
87+
self.node.safe_psql(
88+
"pglist",
8789
"CREATE INDEX rumidx_orderby_sent ON pglist USING rum ("
8890
" fts rum_tsvector_timestamp_ops, sent) "
8991
" WITH (attach=sent, to=fts, order_by_attach=t)")
@@ -113,4 +115,4 @@ def test_order_by(self):
113115
raise e
114116

115117
if __name__ == "__main__":
116-
unittest.main()
118+
unittest.main()

0 commit comments

Comments
 (0)