AthenaPython: fix python bindings for THistSvc and enable tests
The Pythonization of the ITHistSvc
interface was partially broken.
- Add an override for the
__bool__
method as otherwise checking for an ITHistSvc nullptr falls back to the dictionary__len__
. - Cleanup some of the unnecessary uses of
exec
. - Remove the 'NEW' test file as this is not supported by THistSvc.
- Re-enable unit tests.
Also general cleanup and remove usage of future
module.
Requires gaudi/Gaudi!1620 (merged).