Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

A few corrections to my docstrings in [8129].

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7bc728c826aa83338c5566f7f9e919de62f73390 1 parent 96cf365
@gdub gdub authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/regressiontests/pagination_regress/tests.py
View
6 tests/regressiontests/pagination_regress/tests.py
@@ -10,7 +10,7 @@ class PaginatorTests(TestCase):
def check_paginator(self, params, output):
"""
Helper method that instantiates a Paginator object from the passed
- params and then checks that it's attributes match the passed output.
+ params and then checks that its attributes match the passed output.
"""
count, num_pages, page_range = output
paginator = Paginator(*params)
@@ -20,7 +20,7 @@ def check_paginator(self, params, output):
def check_attribute(self, name, paginator, expected, params):
"""
- Helper method to check a single attribute and gives a nice error
+ Helper method that checks a single attribute and gives a nice error
message upon test failure.
"""
got = getattr(paginator, name)
@@ -93,7 +93,7 @@ def test_paginator(self):
def check_indexes(self, params, page_num, indexes):
"""
Helper method that instantiates a Paginator object from the passed
- params and then checks that the start and end indexes of for the passed
+ params and then checks that the start and end indexes of the passed
page_num match those given as a 2-tuple in indexes.
"""
paginator = Paginator(*params)
Please sign in to comment.
Something went wrong with that request. Please try again.