[Zodb-checkins] SVN: ZODB/trunk/src/ZODB/tests/PackableStorage.py Use self.assertEqual rather than an assert.

Jim Fulton jim at zope.com
Sat Oct 25 20:36:21 EDT 2008


Log message for revision 92560:
  Use self.assertEqual rather than an assert.
  

Changed:
  U   ZODB/trunk/src/ZODB/tests/PackableStorage.py

-=-
Modified: ZODB/trunk/src/ZODB/tests/PackableStorage.py
===================================================================
--- ZODB/trunk/src/ZODB/tests/PackableStorage.py	2008-10-26 00:36:18 UTC (rev 92559)
+++ ZODB/trunk/src/ZODB/tests/PackableStorage.py	2008-10-26 00:36:20 UTC (rev 92560)
@@ -321,7 +321,7 @@
         root[2] = conn.get_connection('o').root()
         transaction.commit()
         db.pack(time.time()+1)
-        assert(len(self._storage) == 1)
+        self.assertEqual(len(self._storage), 1)
                 
         
         



More information about the Zodb-checkins mailing list