Message138041
I'd like to see this go in.
+ # seek to the beginning of the comment, then skip the line.
+ pos = len(tt) + 1
+ lexer.instream.seek(-pos, 1)
+ lexer.instream.readline()
Can't you just lexer.instream.readline()?
+ if sys.platform != 'cygwin':
+ mode += 't'
Perhaps this deserves a comment.
+ self.assertEqual({'macro1': ['line1\n', 'line2\n'],
+ 'macro2': ['line3\n', 'line4\n']}, nrc.macros)
It's preferable that the literals are the second argument to assertEqual.
+ self.assertEqual(('bar', None, passwd), nrc.hosts['foo.domain.com'])
+ self.assertEqual(('foo', None, 'pass'), nrc.hosts['bar.domain.com'])
+
Here too. |
|
Date |
User |
Action |
Args |
2011-06-09 23:46:21 | benjamin.peterson | set | recipients:
+ benjamin.peterson, georg.brandl, eric.araujo, r.david.murray, rmstoi |
2011-06-09 23:46:21 | benjamin.peterson | set | messageid: <1307663181.78.0.912903467227.issue12009@psf.upfronthosting.co.za> |
2011-06-09 23:46:21 | benjamin.peterson | link | issue12009 messages |
2011-06-09 23:46:21 | benjamin.peterson | create | |
|