[Zodb-checkins] SVN: ZODB/branches/3.3/src/ Whitespace
normalization.
Tim Peters
tim.one at comcast.net
Fri Nov 5 19:10:32 EST 2004
Log message for revision 28349:
Whitespace normalization.
Changed:
U ZODB/branches/3.3/src/BTrees/tests/testBTrees.py
U ZODB/branches/3.3/src/ZODB/tests/loggingsupport.py
U ZODB/branches/3.3/src/persistent/tests/test_persistent.py
U ZODB/branches/3.3/src/transaction/_transaction.py
-=-
Modified: ZODB/branches/3.3/src/BTrees/tests/testBTrees.py
===================================================================
--- ZODB/branches/3.3/src/BTrees/tests/testBTrees.py 2004-11-05 19:09:26 UTC (rev 28348)
+++ ZODB/branches/3.3/src/BTrees/tests/testBTrees.py 2004-11-06 00:10:32 UTC (rev 28349)
@@ -205,7 +205,7 @@
lst = list(self.t.values(max=99-x, min=0+x))
lst.sort()
self.assertEqual(lst,range(0+x,99-x+1))
-
+
def testValuesNegativeIndex(self):
L = [-3, 6, -11, 4]
for i in L:
@@ -234,7 +234,7 @@
self.assertEqual(list(lst), range(0+x, 99-x+1))
self.assertEqual(len(v), 100)
-
+
def testKeysNegativeIndex(self):
L = [-3, 6, -11, 4]
for i in L:
@@ -266,7 +266,7 @@
items = list(self.t.iteritems(min=12, max=20))
self.assertEqual(items, zip(range(12, 21), range(24, 43, 2)))
-
+
def testItemsNegativeIndex(self):
L = [-3, 6, -11, 4]
for i in L:
Modified: ZODB/branches/3.3/src/ZODB/tests/loggingsupport.py
===================================================================
--- ZODB/branches/3.3/src/ZODB/tests/loggingsupport.py 2004-11-05 19:09:26 UTC (rev 28348)
+++ ZODB/branches/3.3/src/ZODB/tests/loggingsupport.py 2004-11-06 00:10:32 UTC (rev 28349)
@@ -57,14 +57,14 @@
[]
And then log something:
-
+
>>> logging.getLogger('foo.bar').info('blah')
and, sure enough, we still have no output:
-
+
>>> handler.records
[]
-
+
$Id$
"""
@@ -112,11 +112,10 @@
)
for record in self.records]
)
-
+
class InstalledHandler(Handler):
def __init__(self, *names):
Handler.__init__(self, *names)
self.install()
-
Modified: ZODB/branches/3.3/src/persistent/tests/test_persistent.py
===================================================================
--- ZODB/branches/3.3/src/persistent/tests/test_persistent.py 2004-11-05 19:09:26 UTC (rev 28348)
+++ ZODB/branches/3.3/src/persistent/tests/test_persistent.py 2004-11-06 00:10:32 UTC (rev 28349)
@@ -37,7 +37,7 @@
# that failed.
path = os.path.join(persistent.tests.__path__[0], path)
-
+
source = open(path).read()
if globs is None:
globs = sys._getframe(1).f_globals
Modified: ZODB/branches/3.3/src/transaction/_transaction.py
===================================================================
--- ZODB/branches/3.3/src/transaction/_transaction.py 2004-11-05 19:09:26 UTC (rev 28348)
+++ ZODB/branches/3.3/src/transaction/_transaction.py 2004-11-06 00:10:32 UTC (rev 28349)
@@ -630,4 +630,3 @@
def sortKey(self):
return self._datamanager.sortKey()
-
More information about the Zodb-checkins
mailing list