[pypy-svn] r79472 - pypy/trunk/pypy/jit/backend/x86/test
arigo at codespeak.net
arigo at codespeak.net
Wed Nov 24 16:40:21 CET 2010
Author: arigo
Date: Wed Nov 24 16:40:19 2010
New Revision: 79472
Modified:
pypy/trunk/pypy/jit/backend/x86/test/test_ztranslation.py
Log:
Revert this part of r79402. It looks like it was checked in together
with the other files by mistake.
Modified: pypy/trunk/pypy/jit/backend/x86/test/test_ztranslation.py
==============================================================================
--- pypy/trunk/pypy/jit/backend/x86/test/test_ztranslation.py (original)
+++ pypy/trunk/pypy/jit/backend/x86/test/test_ztranslation.py Wed Nov 24 16:40:19 2010
@@ -87,13 +87,8 @@
return int(res)
#
def main(i, j):
- res = f(i, j) + libffi_stuff(i, j)
- fd = os.open('/tmp/x', os.O_WRONLY | os.O_CREAT, 0666)
- rgc.dump_rpy_heap(fd)
- os.close(fd)
- return res
- #expected = main(40, -49)
- expected = 3
+ return f(i, j) + libffi_stuff(i, j)
+ expected = main(40, -49)
res = self.meta_interp(main, [40, -49])
assert res == expected
More information about the Pypy-commit
mailing list