summaryrefslogtreecommitdiff
path: root/tests/aggregation/tests.py
diff options
context:
space:
mode:
authordjango-bot <ops@djangoproject.com>2025-07-22 20:41:41 -0700
committernessita <124304+nessita@users.noreply.github.com>2025-07-23 20:17:55 -0300
commit69a93a88edb56ba47f624dac7a21aacc47ea474f (patch)
treef57507a4435d032493cae40e06ecb254790b67b2 /tests/aggregation/tests.py
parent55b0cc21310b76ce4018dd793ba50556eaf0af06 (diff)
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.
Diffstat (limited to 'tests/aggregation/tests.py')
-rw-r--r--tests/aggregation/tests.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/aggregation/tests.py b/tests/aggregation/tests.py
index 1cf3a8f66e..bd33a532b3 100644
--- a/tests/aggregation/tests.py
+++ b/tests/aggregation/tests.py
@@ -1321,9 +1321,10 @@ class AggregateTestCase(TestCase):
def as_sql(self, compiler, connection, **extra_context):
copy = self.copy()
- # Most database backends do not support compiling multiple arguments on
- # the Max aggregate, and that isn't what is being tested here anyway. To
- # avoid errors, the extra argument is just dropped.
+ # Most database backends do not support compiling multiple
+ # arguments on the Max aggregate, and that isn't what is being
+ # tested here anyway. To avoid errors, the extra argument is
+ # just dropped.
copy.set_source_expressions(
copy.get_source_expressions()[0:1] + [None, None]
)