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

All Samples(76)  |  Call(46)  |  Derive(0)  |  Import(30)
return exit code, after performing an in-process test run.

:arg args: list of command line arguments.

:arg plugins: list of plugin objects to be auto-registered during
              initialization.

        def main(args=None, plugins=None):
    """ return exit code, after performing an in-process test run.

    :arg args: list of command line arguments.

    :arg plugins: list of plugin objects to be auto-registered during
                  initialization.
    """
    config = _prepareconfig(args, plugins)
    return config.hook.pytest_cmdline_main(config=config)
        


src/s/y/sympy-HEAD/sympy/utilities/benchmarking.py   sympy(Download)
    config._getsessionclass = lambda: BenchSession
 
    py.test.cmdline.main(args)
 

src/s/y/sympy-polys-HEAD/sympy/utilities/benchmarking.py   sympy-polys(Download)
    config._getsessionclass = lambda : BenchSession
 
    py.test.cmdline.main(args)
 

src/p/y/pythran-0.4.0/setup.py   pythran(Download)
                    print ("W: Skipping coverage analysis, pytest_cov"
                           "not found")
            if py.test.cmdline.main(args) == 0:
                print "\\_o<"
        except ImportError:

src/p/y/pythran-HEAD/setup.py   pythran(Download)
                    print ("W: Skipping coverage analysis, pytest_cov"
                           "not found")
            if py.test.cmdline.main(args) == 0:
                print "\\_o<"
        except ImportError:

src/t/a/tagpy-HEAD/test/test_tagpy.py   tagpy(Download)
        exec(sys.argv[1])
    else:
        from py.test.cmdline import main
        main([__file__])
 

src/s/y/sympy-HEAD/sympy/mpmath/tests/runtests.py   sympy(Download)
        sys.argv.remove('-py')
        import py
        py.test.cmdline.main()
    else:
        import glob

src/p/y/pycparserext-HEAD/test/test_pycparserext.py   pycparserext(Download)
        exec(sys.argv[1])
    else:
        from py.test.cmdline import main
        main([__file__])
 

src/s/y/sympy-polys-HEAD/sympy/mpmath/tests/runtests.py   sympy-polys(Download)
        sys.argv.remove('-py')
        import py
        py.test.cmdline.main()
    else:
        import glob

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/test_all.py   plexnet(Download)
    import tool.autopath
    import py 
    py.test.cmdline.main() 
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/py/cmdline/pytest.py   plexnet(Download)
def main():
    py.test.cmdline.main() 
 

  1 | 2 | 3 | 4 | 5  Next