mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #16584 -- Fixed a bunch of typos in code comments. Thanks, Bernhard Essl.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
4a993fab18
commit
bce890ace4
28 changed files with 35 additions and 35 deletions
4
tests/regressiontests/cache/tests.py
vendored
4
tests/regressiontests/cache/tests.py
vendored
|
@ -220,7 +220,7 @@ class BaseCacheTests(object):
|
|||
self.assertEqual(self.cache.has_key("goodbye1"), False)
|
||||
|
||||
def test_in(self):
|
||||
# The in operator can be used to inspet cache contents
|
||||
# The in operator can be used to inspect cache contents
|
||||
self.cache.set("hello2", "goodbye2")
|
||||
self.assertEqual("hello2" in self.cache, True)
|
||||
self.assertEqual("goodbye2" in self.cache, False)
|
||||
|
@ -338,7 +338,7 @@ class BaseCacheTests(object):
|
|||
self.assertEqual(self.cache.get(key), value)
|
||||
|
||||
def test_binary_string(self):
|
||||
# Binary strings should be cachable
|
||||
# Binary strings should be cacheable
|
||||
from zlib import compress, decompress
|
||||
value = 'value_to_be_compressed'
|
||||
compressed_value = compress(value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue