[Zope3-checkins] CVS: ZODB/src/transaction/tests -
test_SampleDataManager.py:1.3
Tim Peters
tim.one at comcast.net
Mon Apr 19 17:19:12 EDT 2004
Update of /cvs-repository/ZODB/src/transaction/tests
In directory cvs.zope.org:/tmp/cvs-serv9699/src/transaction/tests
Modified Files:
test_SampleDataManager.py
Log Message:
Whitespace normalization.
=== ZODB/src/transaction/tests/test_SampleDataManager.py 1.2 => 1.3 ===
--- ZODB/src/transaction/tests/test_SampleDataManager.py:1.2 Fri Feb 20 11:56:57 2004
+++ ZODB/src/transaction/tests/test_SampleDataManager.py Mon Apr 19 17:19:11 2004
@@ -78,7 +78,7 @@
>>> dm.commit(t1)
Our changes are"permanent". The state reflects the changes and the
- delta has been reset to 0.
+ delta has been reset to 0.
>>> dm.state
1
@@ -139,7 +139,7 @@
TypeError: ('Transaction missmatch', '2', '1')
>>> dm.prepare(t1)
-
+
"""
if self.prepared:
raise TypeError('Already prepared')
@@ -183,7 +183,7 @@
If savepoints are used, abort must be passed the same
transaction:
-
+
>>> dm.inc()
>>> r = dm.savepoint(t1)
>>> t2 = '2'
@@ -208,15 +208,15 @@
Of course, the transactions passed to prepare and abort must
match:
-
+
>>> dm.prepare(t1)
>>> dm.abort(t2)
Traceback (most recent call last):
...
TypeError: ('Transaction missmatch', '2', '1')
-
+
>>> dm.abort(t1)
-
+
"""
self._checkTransaction(transaction)
@@ -262,7 +262,7 @@
If course, the transactions given to prepare and commit must
be the same:
-
+
>>> dm.inc()
>>> t3 = '3'
>>> dm.prepare(t3)
@@ -270,7 +270,7 @@
Traceback (most recent call last):
...
TypeError: ('Transaction missmatch', '2', '3')
-
+
"""
if not self.prepared:
raise TypeError('Not prepared to commit')
More information about the Zope3-Checkins
mailing list