コード例 #1
0
ファイル: test_stackless.py プロジェクト: antoine1fr/pygirl
 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")
コード例 #2
0
ファイル: test_stackless.py プロジェクト: TheDunn/flex-pypy
 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")
コード例 #3
0
ファイル: test_boehm.py プロジェクト: antoine1fr/pygirl
def setup_module(mod):
    if not check_boehm_presence():
        py.test.skip("Boehm GC not present")
コード例 #4
0
ファイル: test_boehm.py プロジェクト: griels/pypy-sc
def setup_module(mod):
    if not check_boehm_presence():
        py.test.skip("Boehm GC not present")