[Zope3-checkins] CVS: ZODB4/ZODB/tests - BasicStorage.py:1.21
Jeremy Hylton
jeremy@zope.com
Thu, 5 Dec 2002 19:02:25 -0500
Update of /cvs-repository/ZODB4/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv6598
Modified Files:
BasicStorage.py
Log Message:
Remove some old JF comments.
=== ZODB4/ZODB/tests/BasicStorage.py 1.20 => 1.21 ===
--- ZODB4/ZODB/tests/BasicStorage.py:1.20 Wed Jul 24 19:12:46 2002
+++ ZODB4/ZODB/tests/BasicStorage.py Thu Dec 5 19:02:25 2002
@@ -48,14 +48,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,
@@ -64,11 +56,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,