[pypy-svn] r13518 - pypy/dist/pypy/rpython/test
hpk at codespeak.net
hpk at codespeak.net
Fri Jun 17 07:56:59 CEST 2005
Author: hpk
Date: Fri Jun 17 07:56:58 2005
New Revision: 13518
Modified:
pypy/dist/pypy/rpython/test/test_llinterp.py
Log:
reenable test with calling range
Modified: pypy/dist/pypy/rpython/test/test_llinterp.py
==============================================================================
--- pypy/dist/pypy/rpython/test/test_llinterp.py (original)
+++ pypy/dist/pypy/rpython/test/test_llinterp.py Fri Jun 17 07:56:58 2005
@@ -94,10 +94,10 @@
res = [getattr(gcres, x) for x in typeOf(gcres).TO._names]
assert res == [True, True, False, True, False, False]
-def XXXtest_some_builtin():
+def test_some_builtin():
def f(i, j):
x = range(i)
- return x[j]
+ return x[j-1]
res = interpret(f, [10, 7])
assert res == 6
More information about the Pypy-commit
mailing list