Commit 39ca8566 authored by ben's avatar ben

Small test tweak


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@127 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent f1e93191
......@@ -2,7 +2,7 @@ from __future__ import generators
import unittest, pickle
execfile("commontest.py")
rbexec("lazy.py")
rbexec("robust.py")
class Iterators(unittest.TestCase):
one_to_100 = lambda s: iter(range(1, 101))
......@@ -261,7 +261,7 @@ class TreeReducerTest(unittest.TestCase):
itm = ITRadder()
for index in self.i1:
val = itm(index)
assert val, elem.index
assert val, (val, index)
itm.Finish()
assert itm.total == 6, itm.total
......
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