Open GoogleCodeExporter opened 9 years ago
In practise no skipping should be done - because off an instance the attribute
should return a bound method (with no self) already, and we probably can't
fetch the method off the class anyway (__getattr__ won't be invoked). Needs
testing anyway. (If we can't fetch the attribute from the class but it exists
in the output of dir(...) then a mock with no spec should probably be used as
we can't know what the spec should be.)
Original comment by fuzzyman
on 4 Jan 2012 at 6:15
Original issue reported on code.google.com by
fuzzyman
on 4 Jan 2012 at 5:20