dingus
                                
                                 dingus copied to clipboard
                                
                                    dingus copied to clipboard
                            
                            
                            
                        returner() doesn't record method calls
Imported from BitBucket:
Reported by Gary Bernhardt / garybernhardt, created 6 months ago.
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 []
I want to deprecate "returner"; it's confusing anyway.