16 lines
422 B
Python
16 lines
422 B
Python
''' Null tester to signal nose tests disabled
|
|
|
|
Merely returns error reporting lack of nose package or version number
|
|
below requirements.
|
|
|
|
See pkgtester, nosetester modules
|
|
|
|
'''
|
|
|
|
class NullTester(object):
|
|
def test(self, labels=None, *args, **kwargs):
|
|
raise ImportError, \
|
|
'Need nose >=0.10 for tests - see %s' % \
|
|
'http://somethingaboutorange.com/mrl/projects/nose'
|
|
bench = test
|