Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Gary Wilson Jr. authored
6  tests/regressiontests/pagination_regress/tests.py
@@ -10,7 +10,7 @@ class PaginatorTests(TestCase):
10 10
     def check_paginator(self, params, output):
11 11
         """
12 12
         Helper method that instantiates a Paginator object from the passed
13  
-        params and then checks that it's attributes match the passed output.
  13
+        params and then checks that its attributes match the passed output.
14 14
         """
15 15
         count, num_pages, page_range = output
16 16
         paginator = Paginator(*params)
@@ -20,7 +20,7 @@ def check_paginator(self, params, output):
20 20
 
21 21
     def check_attribute(self, name, paginator, expected, params):
22 22
         """
23  
-        Helper method to check a single attribute and gives a nice error
  23
+        Helper method that checks a single attribute and gives a nice error
24 24
         message upon test failure.
25 25
         """
26 26
         got = getattr(paginator, name)
@@ -93,7 +93,7 @@ def test_paginator(self):
93 93
     def check_indexes(self, params, page_num, indexes):
94 94
         """
95 95
         Helper method that instantiates a Paginator object from the passed
96  
-        params and then checks that the start and end indexes of for the passed
  96
+        params and then checks that the start and end indexes of the passed
97 97
         page_num match those given as a 2-tuple in indexes.
98 98
         """
99 99
         paginator = Paginator(*params)

0 notes on commit 7bc728c

Please sign in to comment.
Something went wrong with that request. Please try again.