From 7bc728c826aa83338c5566f7f9e919de62f73390 Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Mon, 28 Jul 2008 20:35:39 +0000 Subject: [PATCH] A few corrections to my docstrings in [8129]. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8130 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/pagination_regress/tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/regressiontests/pagination_regress/tests.py b/tests/regressiontests/pagination_regress/tests.py index 723d5712a7..08436df355 100644 --- a/tests/regressiontests/pagination_regress/tests.py +++ b/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 @@ class PaginatorTests(TestCase): 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 @@ class PaginatorTests(TestCase): 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)