summaryrefslogtreecommitdiff
path: root/django/test
diff options
context:
space:
mode:
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)