hRobert12 / mock

Automatically exported from code.google.com/p/mock
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

mock repr could use the new name #113

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Mocks have a longer name, used by mock_calls. It would be good (for debugging) 
if that name was used in the repr.

(So new name should default to name if not None.)

Original issue reported on code.google.com by fuzzyman on 3 Aug 2011 at 3:20

GoogleCodeExporter commented 8 years ago
Committed on head

Original comment by fuzzyman on 11 Aug 2011 at 1:39