From 69a93a88edb56ba47f624dac7a21aacc47ea474f Mon Sep 17 00:00:00 2001 From: django-bot Date: Tue, 22 Jul 2025 20:41:41 -0700 Subject: 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. --- tests/postgres_tests/test_array.py | 3 ++- tests/postgres_tests/test_search.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'tests/postgres_tests') diff --git a/tests/postgres_tests/test_array.py b/tests/postgres_tests/test_array.py index 745ae6090a..392b8f946c 100644 --- a/tests/postgres_tests/test_array.py +++ b/tests/postgres_tests/test_array.py @@ -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) diff --git a/tests/postgres_tests/test_search.py b/tests/postgres_tests/test_search.py index 472dca6c7b..a7118e7c79 100644 --- a/tests/postgres_tests/test_search.py +++ b/tests/postgres_tests/test_search.py @@ -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)), ), ) -- cgit v1.3