[pypy-svn] r33691 - pypy/branch/even-more-config3/pypy/translator/stackless/test
cfbolz at codespeak.net
cfbolz at codespeak.net
Tue Oct 24 21:35:48 CEST 2006
Author: cfbolz
Date: Tue Oct 24 21:35:46 2006
New Revision: 33691
Modified:
pypy/branch/even-more-config3/pypy/translator/stackless/test/test_transform.py
Log:
use new way of doing things here
Modified: pypy/branch/even-more-config3/pypy/translator/stackless/test/test_transform.py
==============================================================================
--- pypy/branch/even-more-config3/pypy/translator/stackless/test/test_transform.py (original)
+++ pypy/branch/even-more-config3/pypy/translator/stackless/test/test_transform.py Tue Oct 24 21:35:46 2006
@@ -246,6 +246,7 @@
def rtype_stackless_function(fn):
t = TranslationContext()
+ t.config.translation.stackless = True
annotator = t.buildannotator()
annotator.policy.allow_someobjects = False
@@ -269,8 +270,8 @@
t = rtype_stackless_function(entry_point)
- cbuilder = CStandaloneBuilder(t, entry_point, gcpolicy=gc.BoehmGcPolicy)
- cbuilder.stackless = True
+ cbuilder = CStandaloneBuilder(t, entry_point, config=t.config,
+ gcpolicy=gc.BoehmGcPolicy)
cbuilder.generate_source()
if conftest.option.view:
t.view()
More information about the Pypy-commit
mailing list