mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +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:
@@ -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]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user