whitespace normalisation

This commit is contained in:
Anthony Baxter 2006-03-30 12:59:11 +00:00
parent ecdc0a9f46
commit 4ef3a23a35
6 changed files with 23 additions and 24 deletions

View file

@ -517,7 +517,7 @@ class DecimalImplicitConstructionTest(unittest.TestCase):
else:
# testing with -Qnew, so add __truediv__
oplist.append(('/', '__truediv__', '__rtruediv__'))
for sym, lop, rop in oplist:
setattr(E, lop, lambda self, other: 'str' + lop + str(other))
setattr(E, rop, lambda self, other: str(other) + rop + 'str')