Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5d44d4d

Browse files
author
Artur Zakirov
committed
Style fixes
1 parenta553b28 commit5d44d4d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

‎tests/pglist_tests.py

Lines changed: 6 additions & 4 deletions
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
ifnotos.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
raisee
114116

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp