Commit 1166890c authored by Hanno Schlichting's avatar Hanno Schlichting

Added back the second test condition, otherwise the test wasn't failing on...

Added back the second test condition, otherwise the test wasn't failing on some platforms without the actual code change
parent 6f4d372f
......@@ -680,6 +680,8 @@ class EstimatedSizeTests(ZODB.tests.util.TestCase):
transaction.savepoint()
# make sure there was no overflow
self.assert_(cache.total_estimated_size != 0)
# the size is not larger than the allowed maximum
self.assert_(cache.total_estimated_size <= 1000)
# ---- stubs
......
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