def setup_class(cls): import py if cls.gcpolicy in (None, "ref"): import py py.test.skip("stackless + refcounting doesn't work any more for now") elif cls.gcpolicy == "boehm": from pypy.translator.tool.cbuild import check_boehm_presence if not check_boehm_presence(): py.test.skip("Boehm GC not present")
def setup_class(cls): import py if cls.gcpolicy in (None, "ref"): # to re-enable this, remove the two characters 'gc' in the # declaregcptrtype(rstack.frame_stack_top,...) call in # rpython/extfunctable. Doing so breaks translator/stackless/. import py py.test.skip("stackless + refcounting doesn't work any more for now") elif cls.gcpolicy is "boehm": from pypy.translator.tool.cbuild import check_boehm_presence if not check_boehm_presence(): py.test.skip("Boehm GC not present")
def setup_module(mod): if not check_boehm_presence(): py.test.skip("Boehm GC not present")