diff options
author | Chris Cahoon <chris.cahoon@gmail.com> | 2009-06-13 03:29:52 +0000 |
---|---|---|
committer | Chris Cahoon <chris.cahoon@gmail.com> | 2009-06-13 03:29:52 +0000 |
commit | 17fb7b7d5a59652fedea3f30e38a597404c1c867 (patch) | |
tree | af2359ae2404aef5f596b238b1a7672f41b333fa | |
parent | 8b5580286e822f97cd6fa63d463654adc0c44d2f (diff) | |
download | django-17fb7b7d5a59652fedea3f30e38a597404c1c867.tar.gz |
Fixed #11274 -- Corrected doctests to not cause test failures due to missing newlines. Thanks Honza Kral.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/http-wsgi-improvements@10999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r-- | tests/regressiontests/queries/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/regressiontests/queries/models.py b/tests/regressiontests/queries/models.py index 3649d27171..0d28926149 100644 --- a/tests/regressiontests/queries/models.py +++ b/tests/regressiontests/queries/models.py @@ -1151,6 +1151,7 @@ True >>> qs = Author.objects.filter(pk__in=subq) >>> list(qs) [<Author: a1>, <Author: a2>] + # The subquery result cache should not be populated >>> subq._result_cache is None True @@ -1159,6 +1160,7 @@ True >>> qs = Author.objects.exclude(pk__in=subq) >>> list(qs) [<Author: a3>, <Author: a4>] + # The subquery result cache should not be populated >>> subq._result_cache is None True @@ -1166,6 +1168,7 @@ True >>> subq = Author.objects.filter(num__lt=3000) >>> list(Author.objects.filter(Q(pk__in=subq) & Q(name='a1'))) [<Author: a1>] + # The subquery result cache should not be populated >>> subq._result_cache is None True |