PyUtils: remove dependency on LCG decorator module
Make the PyUtils.Decorators
module independent of LCG so it can be used also in AnalysisBase (see !65067 (merged)). Also add unit test for @forking
and remove decorator
dependency from AthFile
. The latter was strictly not necessary as it's not used in AnalysisBase.
With our current versions of Python there should really be no difference in the decorator behavior, as functools.wraps
is now also signature-preserving.
cc @dguest