summaryrefslogtreecommitdiff
path: root/tests/cache
diff options
context:
space:
mode:
authorMaxime Lorant <maxime.lorant@gmail.com>2015-08-31 22:14:35 +0200
committerTim Graham <timograham@gmail.com>2015-08-31 17:37:21 -0400
commit5153a3bfdcec82324d67ff79862384288cf6afe6 (patch)
treea03c5ee4bdf3b5b6529df479fbac123a3065d82a /tests/cache
parentd4b10a725614322769a419180039771634a06571 (diff)
Fixed #25331 -- Removed trailing blank lines in docstrings.
Diffstat (limited to 'tests/cache')
-rw-r--r--tests/cache/tests.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/cache/tests.py b/tests/cache/tests.py
index cb64dad97d..76becdd948 100644
--- a/tests/cache/tests.py
+++ b/tests/cache/tests.py
@@ -548,7 +548,6 @@ class BaseCacheTests(object):
keys that would be refused by memcached. This encourages portable
caching code without making it too difficult to use production backends
with more liberal key rules. Refs #6447.
-
"""
# mimic custom ``make_key`` method being defined since the default will
# never show the below warnings
@@ -1124,7 +1123,6 @@ class MemcachedCacheTests(BaseCacheTests, TestCase):
In order to be memcached-API-library agnostic, we only assert
that a generic exception of some kind is raised.
-
"""
# memcached does not allow whitespace or control characters in keys
self.assertRaises(Exception, cache.set, 'key with spaces', 'value')
@@ -1234,7 +1232,6 @@ class CustomCacheKeyValidationTests(SimpleTestCase):
Tests for the ability to mixin a custom ``validate_key`` method to
a custom cache backend that otherwise inherits from a builtin
backend, and override the default key validation. Refs #6447.
-
"""
def test_custom_key_validation(self):
# this key is both longer than 250 characters, and has spaces