numpy.testing.decorators.setastest(tf=True)
numpy.testing.assert_raises(exception_class, callable, *args, **kwargs)
Page 3 of 3