"""
TODO
"""
__docformat__ = 'restructuredtext'

def test(level=1, verbosity=1):
    from numpy.testing import NumpyTest
    return NumpyTest().test(level, verbosity)

"""
TODO
"""
__docformat__ = 'restructuredtext'


def test(level=1, verbosity=1, flags=[]):
    from neuroimaging.utils.test_decorators import set_flags
    set_flags(flags)
    from numpy.testing import NumpyTest
    return NumpyTest().test(level, verbosity)

add a flags parameter to test() to allow passing in during interactive sessions