Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1317)  |  Call(1289)  |  Derive(0)  |  Import(28)
skip an executing test with the given message.  Note: it's usually
better to use the py.test.mark.skipif marker to declare a test to be
skipped under certain conditions like mismatching platforms or
dependencies.  See the pytest_skipping plugin for details.

        def skip(msg=""):
    """ skip an executing test with the given message.  Note: it's usually
    better to use the py.test.mark.skipif marker to declare a test to be
    skipped under certain conditions like mismatching platforms or
    dependencies.  See the pytest_skipping plugin for details.
    """
    __tracebackhide__ = True
    raise Skipped(msg=msg)
        


src/p/y/pytest-2.5.2/doc/ja/example/multipython.py   pytest(Download)
    def __init__(self, version, picklefile):
        self.pythonpath = py.path.local.sysfind(version)
        if not self.pythonpath:
            py.test.skip("%r not found" %(version,))
        self.picklefile = picklefile

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/llvm/llvm_rffi.py   plexnet(Download)
 
if sys.platform != 'linux2':
    py.test.skip("Linux only for now")
 
# ____________________________________________________________
    g.close()
    if not data.startswith('2.'):
        py.test.skip("llvm (version 2) is required")
 
    if not os.path.isdir(dirname):

src/s/y/Sypy-HEAD/jit/backend/llvm/llvm_rffi.py   Sypy(Download)
 
if not sys.platform.startswith('linux'):
    py.test.skip("Linux only for now")
 
# ____________________________________________________________
    g.close()
    if not data.startswith('2.'):
        py.test.skip("llvm (version 2) is required")
 
    if not os.path.isdir(dirname):

src/s/y/Sypy-HEAD/jit/backend/llgraph/llimpl.py   Sypy(Download)
    def op_cond_call_gc_wb(self, descr, a, b):
        py.test.skip("cond_call_gc_wb not supported")
 
    def op_cond_call_gc_wb_array(self, descr, a, b, c):
        py.test.skip("cond_call_gc_wb_array not supported")

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/rpython/memory/gc/markcompact.py   plexnet(Download)
    def __init__(self, config, chunk_size=DEFAULT_CHUNK_SIZE, space_size=4096):
        import py; py.test.skip("Disabled for now, sorry")
        self.param_space_size = space_size
        MovingGCBase.__init__(self, config, chunk_size)
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/platform/maemo.py   plexnet(Download)
def check_scratchbox():
    if not py.path.local('/scratchbox/login').check():
        py.test.skip("No scratchbox detected")
 
class Maemo(Linux):

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/jvm/genjvm.py   plexnet(Download)
    def check(exechelper):
        if py.path.local.sysfind(exechelper) is None:
            py.test.skip("%s is not on your path" % exechelper)
    check(getoption('javac'))
    check(getoption('java'))

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/cli/support.py   plexnet(Download)
        def __getattr__(self, attr):
            py.test.skip('Must use pythonnet for being able to access .NET libraries')
    PythonNet = _PythonNet()
    del _PythonNet
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/cli/sdk.py   plexnet(Download)
    def _check_helper(cls, helper):
        if py.path.local.sysfind(helper) is None:
            py.test.skip("%s is not on your path." % helper)
        else:
            return helper

src/s/y/Sypy-HEAD/translator/cli/sdk.py   Sypy(Download)
    def _check_helper(cls, helper):
        if py.path.local.sysfind(helper) is None:
            py.test.skip("%s is not on your path." % helper)
        else:
            return helper
        # don't test this at all...
        if platform.architecture()[0] == '64bit':
            py.test.skip('mono on 64bit is not well enough supported')
    else:
        SDK = MonoSDK

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next