diff options
| author | Nick Pope <nick@nickpope.me.uk> | 2023-06-22 11:55:38 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-06-23 09:29:35 +0200 |
| commit | f8092ee9adafaa052172712349a32bd5889b5ccb (patch) | |
| tree | 29d9cf1b39c7e35a58328b1996824f01aa3fba4d /tests | |
| parent | 107865780aa44914e21d27fdf4ca269bc61c7f01 (diff) | |
Improved style of n-tuple wording in docs and comments.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/pagination/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pagination/tests.py b/tests/pagination/tests.py index 1fa9ea2f02..cf7ec61d3b 100644 --- a/tests/pagination/tests.py +++ b/tests/pagination/tests.py @@ -55,7 +55,7 @@ class PaginationTests(SimpleTestCase): ten = nine + [10] eleven = ten + [11] tests = ( - # Each item is two tuples: + # Each item is 2-tuple: # First tuple is Paginator parameters - object_list, per_page, # orphans, and allow_empty_first_page. # Second tuple is resulting Paginator attributes - count, @@ -233,7 +233,7 @@ class PaginationTests(SimpleTestCase): """ ten = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] tests = ( - # Each item is three tuples: + # Each item is 3-tuple: # First tuple is Paginator parameters - object_list, per_page, # orphans, and allow_empty_first_page. # Second tuple is the start and end indexes of the first page. |
