Commit dc2fd3f9 authored by Julien Muchembled's avatar Julien Muchembled

HBTreeFolder2: fix random failure in testIterItems

parent dc5c7e1a
...@@ -214,6 +214,8 @@ class HBTreeFolder2Tests(unittest.TestCase): ...@@ -214,6 +214,8 @@ class HBTreeFolder2Tests(unittest.TestCase):
for i, id in enumerate(id_list): for i, id in enumerate(id_list):
if m <= id.split('-'): if m <= id.split('-'):
break break
else:
i += 1
else: else:
i = 0 i = 0
expected = [(i, tuple(i)) for i in id_list[i:]] expected = [(i, tuple(i)) for i in id_list[i:]]
......
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