Commit a347741c authored by Jim Fulton's avatar Jim Fulton

Cleaned up trailing whitespace and long lines.

parent 76c0ccdd
......@@ -365,13 +365,15 @@ class AnalyzeDotPyTest(StorageTestBase.StorageTestBase):
# sometimes data is in this format
j = 0
oid, revid = oids[j]
serial = self._storage.store(oid, revid, pickle.dumps(OOBTree, 1), "", t)
serial = self._storage.store(
oid, revid, pickle.dumps(OOBTree, 1), "", t)
oids[j][1] = serial
# and it could be from a broken module
j = 1
oid, revid = oids[j]
serial = self._storage.store(oid, revid, pickle.dumps(Broken, 1), "", t)
serial = self._storage.store(
oid, revid, pickle.dumps(Broken, 1), "", t)
oids[j][1] = serial
# but mostly it looks like this
......@@ -401,7 +403,8 @@ class AnalyzeDotPyTest(StorageTestBase.StorageTestBase):
pct = rep.TYPESIZE[t] * 100.0 / rep.DBYTES
cumpct += pct
self.assertAlmostEqual(cumpct, 100.0, 0, "Failed to analyze some records")
self.assertAlmostEqual(cumpct, 100.0, 0,
"Failed to analyze some records")
# Raise an exception if the tids in FileStorage fs aren't
# strictly increasing.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment