Message195594
| Author |
terry.reedy |
| Recipients |
JayKrish, Todd.Rovito, ezio.melotti, philwebster, python-dev, terry.reedy |
| Date |
2013年08月19日.02:17:02 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1376878623.33.0.37450475624.issue18425@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Ezio: grepping test/*.py for (name)'= self.assertEqual' gets 182 hits in 15 different files. If you are generically opposed to name localization, please take your case to pydev. I also found 'unless = self.assertTrue' and am sure I have seen others in the stdlib and test files.
For (name), there is 1 use of 'e' and 'asseq', 5 of 'equal', and 175 of 'eq'. (In one place, 'eq' was only used once after being defined. I would not bother.) If you have a strong preference for 'eq', I will consider it, though it almost seems too light. |
|