Message171492
| 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. |
|