account py3 range objects

This commit is contained in:
Benjamin Peterson 2011-05-24 18:30:18 -05:00
parent b061e71da9
commit c0910abf2f
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ class TestAssertionRewrite:
def test_len(self):
def f():
l = range(10)
l = list(range(10))
assert len(l) == 11
assert getmsg(f).startswith("""assert 10 == 11
+ where 10 = len([""")