From 11eb9fd0b4de8bab968c291f71448e9ff01bedfc Mon Sep 17 00:00:00 2001 From: Jim Fulton Date: Tue, 25 Oct 2016 16:19:26 +0000 Subject: [PATCH] Fix spurious test failure By making an unimportant assertion less restrictive. --- src/ZEO/tests/testZEO.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ZEO/tests/testZEO.py b/src/ZEO/tests/testZEO.py index d3f8c4bf7..05d987333 100644 --- a/src/ZEO/tests/testZEO.py +++ b/src/ZEO/tests/testZEO.py @@ -971,8 +971,8 @@ def test_prefetch(self): >>> conn.close() >>> conn = ZEO.connection(addr) >>> storage = conn.db().storage - >>> len(storage._cache) - 1 + >>> len(storage._cache) <= 1 + True >>> storage.prefetch(oids, conn._storage._start) The prefetch returns before the cache is filled: