account py3 range objects
This commit is contained in:
parent
b061e71da9
commit
c0910abf2f
|
@ -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([""")
|
||||
|
|
Loading…
Reference in New Issue