From 4ec1edeaed35aa6cb645f74687fef773862b83e3 Mon Sep 17 00:00:00 2001 From: Christoph Hasse <christoph.hasse@cern.ch> Date: Tue, 10 May 2022 08:46:18 +0200 Subject: [PATCH] fix(test) functor repr now prints @ instead of chain --- Phys/FunTuple/tests/test_FunctorCollection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Phys/FunTuple/tests/test_FunctorCollection.py b/Phys/FunTuple/tests/test_FunctorCollection.py index 607c1fd84..653a15415 100644 --- a/Phys/FunTuple/tests/test_FunctorCollection.py +++ b/Phys/FunTuple/tests/test_FunctorCollection.py @@ -68,7 +68,7 @@ def test_repr_loki(): def test_str(simple_fc): - _str = """ PT: ('chain( ::Functors::Common::Rho_Coordinate{}, ::Functors::Track::ThreeMomentum{} )', ['Functors/Common.h', 'Functors/TrackLike.h'], '( RHO_COORDINATE chain THREEMOMENTUM )') + _str = """ PT: ('Functors::chain( ::Functors::Common::Rho_Coordinate{}, ::Functors::Track::ThreeMomentum{} )', ['Functors/Common.h', 'Functors/TrackLike.h'], '( RHO_COORDINATE @ THREEMOMENTUM )') X: X Y: Y""" assert _str in str(simple_fc) -- GitLab