Author: Squeaky <[email protected]>
Branch:
Changeset: r69719:838e4aa1dc2d
Date: 2014-03-05 12:45 +0100
http://bitbucket.org/pypy/pypy/changeset/838e4aa1dc2d/
Log: move checks to separate test method
diff --git a/pypy/objspace/std/test/test_rangeobject.py
b/pypy/objspace/std/test/test_rangeobject.py
--- a/pypy/objspace/std/test/test_rangeobject.py
+++ b/pypy/objspace/std/test/test_rangeobject.py
@@ -109,6 +109,7 @@
assert not self.not_forced(r)
assert r == [1, 2, 3, 4, 5, 6, 7]
+ def test_getitem_simple(self):
r = range(4)
assert r[-1] == 3
assert r[3] == 3
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit