This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author michael.foord
Recipients Arnav.Khare, Brian.Jones, chris.jerdonek, eric.araujo, michael.foord, python-dev
Date 2012-09-28.15:27:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348846052.4.0.049436817118.issue15323@psf.upfronthosting.co.za>
In-reply-to
Content
Eric: yes, patch sets the name on the mock objects it creates. A mock only knows its direct name, not its full 'dotted' name (i.e. a mock knows it is called 'time' but not that it is 'time.time'). It is possible (but harder) to deduce that name (follow the chain of parents), so for the moment this change will do.
History
Date User Action Args
2012-09-28 15:27:32michael.foordsetrecipients: + michael.foord, eric.araujo, chris.jerdonek, Brian.Jones, python-dev, Arnav.Khare
2012-09-28 15:27:32michael.foordsetmessageid: <1348846052.4.0.049436817118.issue15323@psf.upfronthosting.co.za>
2012-09-28 15:27:32michael.foordlinkissue15323 messages
2012-09-28 15:27:31michael.foordcreate