[Zodb-checkins] CVS: ZODB3/ZODB/tests - BasicStorage.py:1.21
Jeremy Hylton
jeremy@zope.com
Mon, 6 Jan 2003 19:21:38 -0500
Update of /cvs-repository/ZODB3/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv14340
Modified Files:
BasicStorage.py
Log Message:
Remove some old #JF# comments
=== ZODB3/ZODB/tests/BasicStorage.py 1.20 => 1.21 ===
--- ZODB3/ZODB/tests/BasicStorage.py:1.20 Thu Dec 5 19:00:53 2002
+++ ZODB3/ZODB/tests/BasicStorage.py Mon Jan 6 19:21:35 2003
@@ -46,14 +46,6 @@
self._storage.store,
0, 0, 0, 0, Transaction())
- #JF# The following will fail two ways. UnitTest doesn't
- #JF# help us here:
- #JF# self.assertRaises(
- #JF# POSException.StorageTransactionError,
- #JF# self._storage.abortVersion,
- #JF# 0, Transaction())
-
- #JF# but we can do it another way:
try:
self._storage.abortVersion('dummy', Transaction())
except (POSException.StorageTransactionError,
@@ -62,11 +54,6 @@
else:
assert 0, "Should have failed, invalid transaction."
- #JF# ditto
- #JF# self.assertRaises(
- #JF# POSException.StorageTransactionError,
- #JF# self._storage.commitVersion,
- #JF# 0, 1, Transaction())
try:
self._storage.commitVersion('dummy', 'dummer', Transaction())
except (POSException.StorageTransactionError,