diff --git a/product/ERP5Catalog/tests/testERP5Catalog.py b/product/ERP5Catalog/tests/testERP5Catalog.py
index 8de4254b0812fa6ab353c8b802bf4a56ba4b7943..119ee36afa2b4c5362513ac27176a9b773c211fd 100755
--- a/product/ERP5Catalog/tests/testERP5Catalog.py
+++ b/product/ERP5Catalog/tests/testERP5Catalog.py
@@ -516,5 +516,5 @@ class TestERP5Catalog(ERP5TypeTestCase):
     uid_dict = {}
     for i in xrange(UID_BUFFER_SIZE * 3):
       uid = portal_catalog.newUid()
-      self.assertFalse(uid in uid_dict)
+      self.failIf(uid in uid_dict)
       uid_dict[uid] = None