Run restoration test suite when run as main

This commit is contained in:
Juan Nunez-Iglesias
2014-09-26 18:31:56 +10:00
parent 62343977a4
commit 214613c2a8
@@ -62,3 +62,8 @@ def test_richardson_lucy():
path = pjoin(dirname(abspath(__file__)), 'camera_rl.npy')
np.testing.assert_allclose(deconvolved, np.load(path), rtol=1e-3)
if __name__ == '__main__':
from numpy import testing
testing.run_module_suite()