Commit Graph

6 Commits

Author SHA1 Message Date
Dmitry Shachnev
ce2185ce27 Modernize the code now that Python 2.5 is no longer supported
- Use print function instead of print statement;
- Use new exception handling;
- Use in operator instead of has_key();
- Do not use tuple arguments in functions;
- Other miscellaneous improvements.

This is based on output of `futurize --stage1`, with some
manual corrections.
2014-01-19 14:17:10 +04:00
Georg Brandl
52515eeb86 Copyright header update. 2013-04-01 11:41:48 +02:00
Georg Brandl
1af3e3ea71 tests: replace "from util import *" by explicit imports 2013-04-01 11:39:32 +02:00
Jonathan Waltman
268b009017 Move "only" directive tests to a seperate test root. 2013-01-05 20:14:48 -06:00
Jonathan Waltman
bf362e9ccb Closes #617: Fix docstring preparation without included signature: only ignore indentation of one line, not two. 2012-09-16 01:08:47 -05:00
Jonathan Waltman
c5405184ba Add failing tests for nested sections in only directives. 2012-09-12 15:34:00 -05:00