[pypy-svn] r68350 - pypy/trunk/pypy/rpython/test
arigo at codespeak.net
arigo at codespeak.net
Mon Oct 12 19:31:49 CEST 2009
Author: arigo
Date: Mon Oct 12 19:31:48 2009
New Revision: 68350
Modified:
pypy/trunk/pypy/rpython/test/test_rdict.py
Log:
Make this test harder. Still works as far as I can tell,
also in the CLI backend.
Modified: pypy/trunk/pypy/rpython/test/test_rdict.py
==============================================================================
--- pypy/trunk/pypy/rpython/test/test_rdict.py (original)
+++ pypy/trunk/pypy/rpython/test/test_rdict.py Mon Oct 12 19:31:48 2009
@@ -451,9 +451,9 @@
def test_tuple_dict(self):
def f(i):
d = {}
- d[(1, 2)] = 4
- d[(1, 3)] = 6
- return d[(1, i)]
+ d[(1, 4.5, (str(i), 2), 2)] = 4
+ d[(1, 4.5, (str(i), 2), 3)] = 6
+ return d[(1, 4.5, (str(i), 2), i)]
res = self.interpret(f, [2])
assert res == f(2)
More information about the Pypy-commit
mailing list