Author: Alex Gaynor <[email protected]>
Branch: kill-someobject
Changeset: r57877:b276dfeb927d
Date: 2012-10-08 09:51 +0200
http://bitbucket.org/pypy/pypy/changeset/b276dfeb927d/
Log: remove import of CExtModuleBuilder so the tests will import (even if
they fail)
diff --git a/pypy/translator/c/test/test_boehm.py
b/pypy/translator/c/test/test_boehm.py
--- a/pypy/translator/c/test/test_boehm.py
+++ b/pypy/translator/c/test/test_boehm.py
@@ -2,7 +2,6 @@
from pypy.translator.translator import TranslationContext
from pypy.rpython.lltypesystem import lltype, llmemory
from pypy.rpython.lltypesystem.lloperation import llop
-from pypy.translator.c.genc import CExtModuleBuilder
from pypy.rlib.objectmodel import keepalive_until_here
from pypy import conftest
@@ -15,20 +14,21 @@
except CompilationError:
py.test.skip("Boehm GC not present")
+
class AbstractGCTestClass(object):
gcpolicy = "boehm"
use_threads = False
-
+
# deal with cleanups
def setup_method(self, meth):
self._cleanups = []
+
def teardown_method(self, meth):
while self._cleanups:
#print "CLEANUP"
self._cleanups.pop()()
- def getcompiled(self, func, argstypelist = [],
- annotatorpolicy=None):
+ def getcompiled(self, func, argstypelist=[], annotatorpolicy=None):
from pypy.config.pypyoption import get_pypy_config
config = get_pypy_config(translating=True)
config.translation.gc = self.gcpolicy
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit