summaryrefslogtreecommitdiff
path: root/test/test_cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_cache.py')
-rw-r--r--test/test_cache.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/test_cache.py b/test/test_cache.py
index d094943..41c628e 100644
--- a/test/test_cache.py
+++ b/test/test_cache.py
@@ -106,8 +106,7 @@ class CacheTestCase(TestCase):
) # usage list and data keys are different
def test_nullsize(self):
- """Checks that a 'NULL' size cache doesn't store anything
- """
+ """Checks that a 'NULL' size cache doesn't store anything"""
null_cache = Cache(0)
null_cache["foo"] = "bar"
self.assertEqual(null_cache.size, 0, "Cache size should be O, not %d" % null_cache.size)
@@ -118,8 +117,7 @@ class CacheTestCase(TestCase):
self.assertRaises(KeyError, null_cache.__delitem__, "foo")
def test_getitem(self):
- """ Checks that getitem doest not modify the _usage attribute
- """
+ """Checks that getitem doest not modify the _usage attribute"""
try:
self.cache["toto"]
except KeyError: