Commit e05e4764 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Use failIf instead of assertFalse. assertFalse seems not to be supported by Python 2.3.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4438 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 13ae0381
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment