From 03d4a8d1b633ad918c9f85e765208bed00a1ad3a Mon Sep 17 00:00:00 2001 From: Julien Phalip Date: Wed, 5 Oct 2011 12:50:44 +0000 Subject: [PATCH] Fixed #16990 -- Fixed a couple of small docstring typos in the `django/test/testcases.py` module and did some minor cleanup while I was in the area. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16928 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/test/testcases.py | 76 ++++++++++++++++++++++++++-------------- 1 file changed, 50 insertions(+), 26 deletions(-) diff --git a/django/test/testcases.py b/django/test/testcases.py index 71687f2a6e..010850d42a 100644 --- a/django/test/testcases.py +++ b/django/test/testcases.py @@ -19,7 +19,8 @@ from django.forms.fields import CharField from django.http import QueryDict from django.test import _doctest as doctest from django.test.client import Client -from django.test.utils import get_warnings_state, restore_warnings_state, override_settings +from django.test.utils import (get_warnings_state, restore_warnings_state, + override_settings) from django.utils import simplejson, unittest as ut2 from django.utils.encoding import smart_str @@ -27,7 +28,8 @@ __all__ = ('DocTestRunner', 'OutputChecker', 'TestCase', 'TransactionTestCase', 'SimpleTestCase', 'skipIfDBFeature', 'skipUnlessDBFeature') normalize_long_ints = lambda s: re.sub(r'(?