mirror of
https://github.com/django/django.git
synced 2025-11-20 03:30:00 +00:00
Refs #36500 -- Rewrapped long docstrings and block comments via a script.
Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505.
This commit is contained in:
parent
55b0cc2131
commit
69a93a88ed
378 changed files with 2781 additions and 1861 deletions
|
|
@ -973,7 +973,8 @@ class TestMigrations(TransactionTestCase):
|
|||
)
|
||||
def test_adding_arrayfield_with_index(self):
|
||||
"""
|
||||
ArrayField shouldn't have varchar_patterns_ops or text_patterns_ops indexes.
|
||||
ArrayField shouldn't have varchar_patterns_ops or text_patterns_ops
|
||||
indexes.
|
||||
"""
|
||||
table_name = "postgres_tests_chartextarrayindexmodel"
|
||||
call_command("migrate", "postgres_tests", verbosity=0)
|
||||
|
|
|
|||
|
|
@ -602,8 +602,8 @@ class TestRankingAndWeights(GrailTestData, PostgreSQLTestCase):
|
|||
rank=SearchRank(
|
||||
SearchVector("dialogue"),
|
||||
SearchQuery("brave sir robin"),
|
||||
# Divide the rank by the document length and by the number of
|
||||
# unique words in document.
|
||||
# Divide the rank by the document length and by the number
|
||||
# of unique words in document.
|
||||
normalization=Value(2).bitor(Value(8)),
|
||||
),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue