Issue #10 new

returner() doesn't record method calls

Gary Bernhardt
repo owner created an issue

A method created with __returns= records its calls:

{{{

d = Dingus(x__returns=5) d.x() 5 d.calls [('x', (), {}, 5)] }}}

but a method created with returner() doesn't:

{{{

d = Dingus(x=returner(5)) d.x() 5 d.calls [] }}}

Comments (0)

  1. Log in to comment