[Zodb-checkins] CVS: StandaloneZODB/ZODB/tests - testPersistentMapping.py:1.1.2.2 testTransaction.py:1.2.46.2
Jeremy Hylton
jeremy@zope.com
Fri, 30 Nov 2001 15:35:35 -0500
Update of /cvs-repository/StandaloneZODB/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv2852
Modified Files:
Tag: StandaloneZODB-1_0-branch
testPersistentMapping.py testTransaction.py
Log Message:
Remove debugging prints
=== StandaloneZODB/ZODB/tests/testPersistentMapping.py 1.1.2.1 => 1.1.2.2 ===
"""Helper for this test suite to get special PersistentMapping"""
- print modulename, classname
if classname == "PersistentMapping":
class PersistentMapping:
def __setstate__(self, state):
=== StandaloneZODB/ZODB/tests/testTransaction.py 1.2.46.1 => 1.2.46.2 ===
def checkMultipleCommits(self, subtrans=None):
- print
- print
a = self.root["a"] = MinPO("a")
- print 1, self.root, `self.root.__dict__`
get_transaction().commit(subtrans)
- print 2, `self.root.__dict__`
- print 2, self.root, `self.root.__dict__`
a.extra_attr = MinPO("b")
- print 3, self.root, `self.root.__dict__`
get_transaction().commit(subtrans)
- print 4, self.root, `self.root.__dict__`
del a
assert self.root["a"].value == "a"
assert self.root["a"].extra_attr == MinPO("b")