Skip to content

AthenaPython: fix python bindings for THistSvc and enable tests

Frank Winklmeier requested to merge fwinkl/athena:pythistsvc into main

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).

Merge request reports