diff options
| author | Mike Edmunds <medmunds@gmail.com> | 2025-07-22 20:40:48 -0700 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-07-23 20:17:55 -0300 |
| commit | 55b0cc21310b76ce4018dd793ba50556eaf0af06 (patch) | |
| tree | b56d75363688b6ac34f7e9a773c793d79750104b /tests/annotations/tests.py | |
| parent | 5527df91921b54b9fd1eb9aca3aabe91ec58a9c7 (diff) | |
Refs #36500 -- Shortened some long docstrings and comments.
Manually reformatted some long docstrings and comments that would be
damaged by the to-be-applied autofixer script, in cases where editorial
judgment seemed necessary for style or wording changes.
Diffstat (limited to 'tests/annotations/tests.py')
| -rw-r--r-- | tests/annotations/tests.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/annotations/tests.py b/tests/annotations/tests.py index eb077fcb57..4c0ec66665 100644 --- a/tests/annotations/tests.py +++ b/tests/annotations/tests.py @@ -1160,8 +1160,8 @@ class NonAggregateAnnotationTestCase(TestCase): crafted_alias = """injected_name" from "annotations_book"; --""" # RemovedInDjango70Warning: When the deprecation ends, replace with: # msg = ( - # "Column aliases cannot contain whitespace characters, quotation marks, " - # "semicolons, percent signs, or SQL comments." + # "Column aliases cannot contain whitespace characters, quotation " + # "marks, semicolons, percent signs, or SQL comments." # ) msg = ( "Column aliases cannot contain whitespace characters, quotation marks, " @@ -1182,7 +1182,7 @@ class NonAggregateAnnotationTestCase(TestCase): "ali/*as", "alias*/", "alias;", - # RemovedInDjango70Warning: When the deprecation ends, add this case. + # RemovedInDjango70Warning: When the deprecation ends, add this: # "alias%", # [] are used by MSSQL. "alias[", @@ -1190,8 +1190,8 @@ class NonAggregateAnnotationTestCase(TestCase): ] # RemovedInDjango70Warning: When the deprecation ends, replace with: # msg = ( - # "Column aliases cannot contain whitespace characters, quotation marks, " - # "semicolons, percent signs, or SQL comments." + # "Column aliases cannot contain whitespace characters, quotation " + # "marks, semicolons, percent signs, or SQL comments." # ) msg = ( "Column aliases cannot contain whitespace characters, quotation marks, " @@ -1496,8 +1496,8 @@ class AliasTests(TestCase): crafted_alias = """injected_name" from "annotations_book"; --""" # RemovedInDjango70Warning: When the deprecation ends, replace with: # msg = ( - # "Column aliases cannot contain whitespace characters, quotation marks, " - # "semicolons, percent signs, or SQL comments." + # "Column aliases cannot contain whitespace characters, quotation " + # "marks, semicolons, percent signs, or SQL comments." # ) msg = ( "Column aliases cannot contain whitespace characters, quotation marks, " |
