Did I find the right examples for you? yes no

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

src/p/a/pandas-HEAD/pandas/util/decorators.py   pandas(Download)
    def knownfail_decorator(f):
        # Local import to avoid a hard nose dependency and only incur the
        # import time overhead at actual test-time.
        import nose
 

src/p/a/pandas-HEAD/pandas/core/frame.py   pandas(Download)
 
if __name__ == '__main__':
    import nose
    nose.runmodule(argv=[__file__, '-vvs', '-x', '--pdb', '--pdb-failure'],
                   exit=False)

src/i/p/ipython-2.0.0/IPython/external/decorators/_decorators.py   ipython(Download)
    def skip_decorator(f):
        # Local import to avoid a hard nose dependency and only incur the
        # import time overhead at actual test-time.
        import nose
 
    def knownfail_decorator(f):
        # Local import to avoid a hard nose dependency and only incur the
        # import time overhead at actual test-time.
        import nose
        def knownfailer(*args, **kwargs):
    def deprecate_decorator(f):
        # Local import to avoid a hard nose dependency and only incur the
        # import time overhead at actual test-time.
        import nose
 

src/n/u/nupic-linux64-HEAD/lib64/python2.6/site-packages/matplotlib/__init__.py   nupic-linux64(Download)
def test(verbosity=0):
    """run the matplotlib test suite"""
    import nose
    import nose.plugins.builtin
    from testing.noseclasses import KnownFailure

src/i/p/ipython-HEAD/IPython/external/decorators/_decorators.py   ipython(Download)
    def skip_decorator(f):
        # Local import to avoid a hard nose dependency and only incur the
        # import time overhead at actual test-time.
        import nose
 
    def knownfail_decorator(f):
        # Local import to avoid a hard nose dependency and only incur the
        # import time overhead at actual test-time.
        import nose
        def knownfailer(*args, **kwargs):
    def deprecate_decorator(f):
        # Local import to avoid a hard nose dependency and only incur the
        # import time overhead at actual test-time.
        import nose
 

src/s/t/statsmodels-HEAD/statsmodels/tools/print_version.py   statsmodels(Download)
 
    try:
        import nose
        print("nose: %s" % safe_version(nose))
    except ImportError:
 
    try:
        import nose
        print("nose: %s (%s)" % (safe_version(nose), dirname(nose.__file__)))
    except ImportError:

src/i/p/ipython-py3k-HEAD/IPython/external/decorators/_decorators.py   ipython-py3k(Download)
    def skip_decorator(f):
        # Local import to avoid a hard nose dependency and only incur the
        # import time overhead at actual test-time.
        import nose
 
    def knownfail_decorator(f):
        # Local import to avoid a hard nose dependency and only incur the
        # import time overhead at actual test-time.
        import nose
        def knownfailer(*args, **kwargs):
    def deprecate_decorator(f):
        # Local import to avoid a hard nose dependency and only incur the
        # import time overhead at actual test-time.
        import nose
 

src/j/i/jig-0.1.9/src/jig/entrypoints.py   jig(Download)
def test():
    """
    Run the suite of tests for jig.
    """
    import nose
def coverage():
    """
    Create console and HTML coverage reports for the full test suite.
    """
    import nose

src/m/a/matplotlib-1.3.1/lib/matplotlib/__init__.py   matplotlib(Download)
    try:
        use('agg')
        import nose
        import nose.plugins.builtin
        from .testing.noseclasses import KnownFailure

src/n/i/Nitrogen-0.2a.dev/nitrogen/wsgi/unicode.py   Nitrogen(Download)
 
if __name__ == '__main__':
    import nose; nose.run(defaultTest=__name__)

Previous  5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13  Next