summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/test/client.py2
-rw-r--r--tests/urlpatterns/tests.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/django/test/client.py b/django/test/client.py
index 1eb2e2dd06..e8e4e0c6f8 100644
--- a/django/test/client.py
+++ b/django/test/client.py
@@ -48,7 +48,7 @@ class RedirectCycleError(Exception):
class FakePayload:
"""
A wrapper around BytesIO that restricts what can be read since data from
- the network can't be seeked and cannot be read outside of its content
+ the network can't be sought and cannot be read outside of its content
length. This makes sure that views can't do anything under the test client
that wouldn't work in real life.
"""
diff --git a/tests/urlpatterns/tests.py b/tests/urlpatterns/tests.py
index f696cd531d..74503e4518 100644
--- a/tests/urlpatterns/tests.py
+++ b/tests/urlpatterns/tests.py
@@ -107,7 +107,7 @@ class SimplifiedURLTests(SimpleTestCase):
self.assertEqual(match.url_name, 'inner-extra')
self.assertEqual(match.kwargs, {'extra': 'something'})
- def test_path_inclusion_is_reversable(self):
+ def test_path_inclusion_is_reversible(self):
url = reverse('inner-extra', kwargs={'extra': 'something'})
self.assertEqual(url, '/included_urls/extra/something/')