''' Null tester (when nose not importable)

Merely returns error reporting lack of nose package

See pkgtester, nosetester modules

'''

nose_url = 'http://somethingaboutorange.com/mrl/projects/nose'

class NullTester(object):
    def __init__(self, *args, **kwargs):
        pass
    def test(self, labels=None, *args, **kwargs):
        raise ImportError, 'Need nose for tests - see %s' % nose_url
    

''' Null tester (when nose not importable)

Merely returns error reporting lack of nose package

See pkgtester, nosetester modules

'''

nose_url = 'http://somethingaboutorange.com/mrl/projects/nose'

class NullTester(object):
    def __init__(self, *args, **kwargs):
        pass
    def test(self, labels=None, *args, **kwargs):
        raise ImportError, 'Need nose for tests - see %s' % nose_url
    def bench(self, labels=None, *args, **kwargs):
        raise ImportError, 'Need nose for benchmarks - see %s' % nose_url
    

Fix bench error on scipy import when nose is not installed
Fix bench error on scipy import when nose is not installed

git-svn-id: 003f22d385e25de9cff933a5ea4efd77cb5e7b28@3851 d6536bca-fef9-0310-8506-e4c0a848fbcf
