summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/modeltests/get_object_or_404/models.py2
-rw-r--r--tests/regressiontests/templates/loaders.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/modeltests/get_object_or_404/models.py b/tests/modeltests/get_object_or_404/models.py
index 6e4da44481..b2812e61e7 100644
--- a/tests/modeltests/get_object_or_404/models.py
+++ b/tests/modeltests/get_object_or_404/models.py
@@ -55,7 +55,7 @@ Http404: No Article matches the given query.
>>> get_object_or_404(Article, title__contains="Run")
<Article: Run away!>
-# We can also use the the Article manager through an Author object.
+# We can also use the Article manager through an Author object.
>>> get_object_or_404(a.article_set, title__contains="Run")
<Article: Run away!>
diff --git a/tests/regressiontests/templates/loaders.py b/tests/regressiontests/templates/loaders.py
index fdaf9ac83f..c552a62578 100644
--- a/tests/regressiontests/templates/loaders.py
+++ b/tests/regressiontests/templates/loaders.py
@@ -45,7 +45,7 @@ def create_egg(name, resources):
Creates a mock egg with a list of resources.
name: The name of the module.
- resources: A dictionary of resources. Keys are the names and values the the data.
+ resources: A dictionary of resources. Keys are the names and values the data.
"""
egg = imp.new_module(name)
egg.__loader__ = MockLoader()