Print Python error in test
When there is an error in the Python setup, Python may throw an unexpected exception. Radler's python test would then just report a failure without further info, which makes it hard to debug or understand. With the addition in this MR I get the underlying problem (which is that apparently there is an issue with my numpy setup) :
/home/anoko/projects/radler/cpp/test/test_python_deconvolution.cc(98): error: in "python_deconvolution/error_reporting": check what.find("This is a test") != std::string::npos has failed [18446744073709551615 == 18446744073709551615]
unknown location(0): fatal error: in "python_deconvolution/error_reporting": std::runtime_error: Exception what() string should have had the text 'This is a test' in it: ImportError: Error importing numpy: you should not try to import numpy from
its source directory; please exit the numpy source tree, and relaunch
your python interpreter from there.