Message96885
To elaborate on my last comment:
- touch_import looks for the required import binding in any scope, and it
will add a global import if not found, otherwise it leaves it alone
- the import added does not have a newline prefix, so if the newlines were
left in, (without [1:]) the tests would fail.
However, I found that the test cases are easier to read if they all
start on the same indentation level, so adding a newline for the reader
but telling the parser to ignore it makes readable, correct test cases. |
|
Date |
User |
Action |
Args |
2009-12-25 17:47:40 | joe.amenta | set | recipients:
+ joe.amenta, georg.brandl, exarkun, ncoghlan, pitrou, benjamin.peterson, ezio.melotti, Trundle, milko.krachounov |
2009-12-25 17:47:40 | joe.amenta | set | messageid: <1261763260.52.0.109224202417.issue7006@psf.upfronthosting.co.za> |
2009-12-25 17:47:39 | joe.amenta | link | issue7006 messages |
2009-12-25 17:47:38 | joe.amenta | create | |
|