Log message for revision 76207:
  removed obsolete tests since db.open() on longer supports the 'synch' 
parameter
  

Changed:
  U   
Zope/branches/Zope211-3.4-integration/lib/python/tempstorage/tests/testTemporaryStorage.py

-=-
Modified: 
Zope/branches/Zope211-3.4-integration/lib/python/tempstorage/tests/testTemporaryStorage.py
===================================================================
--- 
Zope/branches/Zope211-3.4-integration/lib/python/tempstorage/tests/testTemporaryStorage.py
  2007-06-03 11:52:13 UTC (rev 76206)
+++ 
Zope/branches/Zope211-3.4-integration/lib/python/tempstorage/tests/testTemporaryStorage.py
  2007-06-03 11:55:42 UTC (rev 76207)
@@ -56,7 +56,7 @@
 
     def doreadconflict(self, db, mvcc):
         tm1 = transaction.TransactionManager()
-        conn = db.open(mvcc=mvcc, transaction_manager=tm1)
+        conn = db.open(transaction_manager=tm1)
         r1 = conn.root()
         obj = MinPO('root')
         r1["p"] = obj
@@ -66,7 +66,7 @@
 
         # start a new transaction with a new connection
         tm2 = transaction.TransactionManager()
-        cn2 = db.open(mvcc=mvcc, transaction_manager=tm2)
+        cn2 = db.open(transaction_manager=tm2)
         r2 = cn2.root()
 
         self.assertEqual(r1._p_serial, r2._p_serial)
@@ -85,10 +85,6 @@
         obj.child1 
         return obj
 
-    def checkWithoutMVCCRaisesReadConflict(self):
-        db = DB(self._storage)
-        self.assertRaises(ReadConflictError, self.doreadconflict, db, False)
-
     def checkWithMVCCDoesntRaiseReadConflict(self):
         db = DB(self._storage)
         ob = self.doreadconflict(db, True)

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to