[pypy-svn] r18515 - pypy/dist/pypy/translator/c/test

arigo at codespeak.net arigo at codespeak.net
Thu Oct 13 13:13:49 CEST 2005


Author: arigo
Date: Thu Oct 13 13:13:46 2005
New Revision: 18515

Modified:
   pypy/dist/pypy/translator/c/test/test_standalone.py
Log:
remove unused keyword argument.


Modified: pypy/dist/pypy/translator/c/test/test_standalone.py
==============================================================================
--- pypy/dist/pypy/translator/c/test/test_standalone.py	(original)
+++ pypy/dist/pypy/translator/c/test/test_standalone.py	Thu Oct 13 13:13:46 2005
@@ -1,6 +1,5 @@
 from pypy.translator.translator import Translator
 from pypy.translator.tool.cbuild import build_executable
-from pypy.translator.transform import insert_stackcheck
 from pypy.annotation.model import SomeList, SomeString
 from pypy.annotation.listdef import ListDef
 from pypy.rpython.objectmodel import stack_unwind, stack_frames_depth, stack_too_big
@@ -124,7 +123,7 @@
 
 
 
-def wrap_stackless_function(fn, stackcheck=False):
+def wrap_stackless_function(fn):
     def entry_point(argv):
         os.write(1, str(fn())+"\n")
         return 0
@@ -155,5 +154,5 @@
 
     def fn():
         return f(10**6)
-    data = wrap_stackless_function(fn, stackcheck=True)
+    data = wrap_stackless_function(fn)
     assert int(data.strip()) == 704



More information about the Pypy-commit mailing list