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

All Samples(17)  |  Call(0)  |  Derive(17)  |  Import(0)

src/s/y/sympy-HEAD/sympy/utilities/benchmarking.py   sympy(Download)
class Directory(py.test.collect.Directory):
 
    def filefilter(self, path):
        b = path.purebasename
        ext = path.ext

src/s/y/sympy-polys-HEAD/sympy/utilities/benchmarking.py   sympy-polys(Download)
class Directory(py.test.collect.Directory):
 
    def filefilter(self, path):
        b   = path.purebasename
        ext = path.ext

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/benchmark/conftest.py   plexnet(Download)
class Directory(py.test.collect.Directory):
 
    def recfilter(self, path):
        # exclude the subdirectories added by 'svn co' from benchmarks.py
        return path.check(basename='test')

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/rpython/numpy/test/conftest.py   plexnet(Download)
class Directory(py.test.collect.Directory):
 
    def run(self):
        try:
            import numpy

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/rlib/rsdl/test/conftest.py   plexnet(Download)
class Directory(py.test.collect.Directory):
    def collect(self):
        try:
            check_sdl_installation()
        except SDLNotInstalled, e:

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/module/select/conftest.py   plexnet(Download)
class Directory(py.test.collect.Directory):
 
    def run(self):
        try:
            import ctypes

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/lib/app_test/ctypes_tests/conftest.py   plexnet(Download)
class Directory(py.test.collect.Directory):
    def collect(self):
        if '__pypy__' not in sys.builtin_module_names:
            py.test.skip("these tests are meant to be run on top of pypy-c")
        return super(Directory, self).collect()

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/x86/test/conftest.py   plexnet(Download)
class Directory(py.test.collect.Directory):
    def collect(self):
        cpu = detect_cpu.autodetect()
        if cpu != 'i386':
            py.test.skip("x86 directory skipped: cpu is %r" % (cpu,))

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/llvm/test/conftest.py   plexnet(Download)
class Directory(py.test.collect.Directory):
    def collect(self):
        py.test.skip("llvm backend tests skipped for now")
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/conftest.py   plexnet(Download)
class Directory(py.test.collect.Directory):
    def consider_dir(self, path):
        if path == rootdir.join("lib", "ctypes", "test"):
            py.test.skip("These are the original ctypes tests.\n"
                         "You can try to run them with 'pypy-c runtests.py'.")

  1 | 2  Next