summaryrefslogtreecommitdiff
path: root/django/test
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-04-26 10:18:45 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-04-26 10:18:45 -0700
commit2bcb8bfc8de5cd57ebb64b326cd7609aa0d8c1c7 (patch)
tree6c0dc4b5f0d4dbcae6c181efc2b346799ac5caf3 /django/test
parent8b5b199e20ad2d8d3e91873ce0cd5d3035e05ece (diff)
Fix many many typos in comments throughout the codebase
Diffstat (limited to 'django/test')
-rw-r--r--django/test/runner.py2
-rw-r--r--django/test/testcases.py3
2 files changed, 2 insertions, 3 deletions
diff --git a/django/test/runner.py b/django/test/runner.py
index fcfdb07d9f..5eafe35416 100644
--- a/django/test/runner.py
+++ b/django/test/runner.py
@@ -178,7 +178,7 @@ def dependency_ordered(test_databases, dependencies):
# Maps db signature to dependencies of all it's aliases
dependencies_map = {}
- # sanity check - no DB can depend on it's own alias
+ # sanity check - no DB can depend on its own alias
for sig, (_, aliases) in test_databases:
all_deps = set()
for alias in aliases:
diff --git a/django/test/testcases.py b/django/test/testcases.py
index 46237aecd2..53ea93f424 100644
--- a/django/test/testcases.py
+++ b/django/test/testcases.py
@@ -232,8 +232,7 @@ class SimpleTestCase(unittest.TestCase):
def settings(self, **kwargs):
"""
- A context manager that temporarily sets a setting and reverts
- back to the original value when exiting the context.
+ A context manager that temporarily sets a setting and reverts to the original value when exiting the context.
"""
return override_settings(**kwargs)