diff --git a/product/ERP5Type/tests/testMemcachedTool.py b/product/ERP5Type/tests/testMemcachedTool.py
index 76df80af1e58d21486f3326c6ecbe5548c69045b..a21b7d383f30f61e5413f147ac7ff71d900967aa 100644
--- a/product/ERP5Type/tests/testMemcachedTool.py
+++ b/product/ERP5Type/tests/testMemcachedTool.py
@@ -165,7 +165,7 @@ class TestMemcachedTool(ERP5TypeTestCase):
     del tested_dict[tested_key]
     self.assertTrue(tested_dict[tested_key] is None)
 
-  def test_05_deteteValueAndCommit(self):
+  def test_05_deleteValueAndCommit(self):
     """
       Tests that deleted values are actually deleted in memcached.
     """
@@ -176,14 +176,7 @@ class TestMemcachedTool(ERP5TypeTestCase):
     self.assertTrue(tested_dict[tested_key] == tested_value)
     del tested_dict[tested_key]
     transaction.commit()
-    try:
-      dummy = tested_dict[tested_key]
-    except KeyError:
-      pass
-    except:
-      self.fail('Wrong error type is raised when key is not found.')
-    else:
-      self.fail('No error is raised when key is not found.')
+    self.assertRaises(KeyError, tested_dict.__getitem__, tested_key)
 
   def test_06_checkNonStringKeyFails(self):
     """