summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
Diffstat (limited to 'django')
-rw-r--r--django/contrib/sites/tests.py2
-rw-r--r--django/utils/text.py8
2 files changed, 5 insertions, 5 deletions
diff --git a/django/contrib/sites/tests.py b/django/contrib/sites/tests.py
index f39f7a2c82..b607f021d5 100644
--- a/django/contrib/sites/tests.py
+++ b/django/contrib/sites/tests.py
@@ -2,7 +2,7 @@
>>> from django.contrib.sites.models import Site
>>> from django.conf import settings
>>> Site(id=settings.SITE_ID, domain="example.com", name="example.com").save()
-
+
>>> # Make sure that get_current() does not return a deleted Site object.
>>> s = Site.objects.get_current()
>>> isinstance(s, Site)
diff --git a/django/utils/text.py b/django/utils/text.py
index 3686a454a8..1548cfa77e 100644
--- a/django/utils/text.py
+++ b/django/utils/text.py
@@ -207,10 +207,10 @@ def smart_split(text):
>>> list(smart_split(r'This is "a person\'s" test.'))
[u'This', u'is', u'"a person\\\'s"', u'test.']
- >>> list(smart_split(r"Another 'person\'s' test."))
- [u'Another', u"'person's'", u'test.']
- >>> list(smart_split(r'A "\"funky\" style" test.'))
- [u'A', u'""funky" style"', u'test.']
+ >>> list(smart_split(r"Another 'person\'s' test."))
+ [u'Another', u"'person's'", u'test.']
+ >>> list(smart_split(r'A "\"funky\" style" test.'))
+ [u'A', u'""funky" style"', u'test.']
"""
text = force_unicode(text)
for bit in smart_split_re.finditer(text):