mirror of
https://github.com/django/django.git
synced 2025-10-09 10:10:28 +00:00
Preferred usage of among/while to amongst/whilst.
This commit is contained in:
parent
25352dc019
commit
dbdc192ca3
13 changed files with 23 additions and 24 deletions
4
tests/cache/tests.py
vendored
4
tests/cache/tests.py
vendored
|
@ -1272,8 +1272,8 @@ class BaseMemcachedTests(BaseCacheTests):
|
|||
|
||||
def _perform_invalid_key_test(self, key, expected_warning):
|
||||
"""
|
||||
Whilst other backends merely warn, memcached should raise for an
|
||||
invalid key.
|
||||
While other backends merely warn, memcached should raise for an invalid
|
||||
key.
|
||||
"""
|
||||
msg = expected_warning.replace(key, cache.make_key(key))
|
||||
with self.assertRaisesMessage(InvalidCacheKey, msg):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue