1 Apr 2011 13:47
r6998 - trunk/docutils/test/test_command_line.py
<milde <at> users.berlios.de>
2011-04-01 11:47:29 GMT
2011-04-01 11:47:29 GMT
Author: milde Date: 2011-04-01 13:47:29 +0200 (Fri, 01 Apr 2011) New Revision: 6998 Modified: trunk/docutils/test/test_command_line.py Log: Fix command line test. Decode output with "utf8" (Docutils standard output encoding). Compare only the first line of output, strip line ending (removes CR vs. LFCR issues). Thanks to Alan for testing on Windows. Modified: trunk/docutils/test/test_command_line.py =================================================================== --- trunk/docutils/test/test_command_line.py 2011-03-30 21:22:37 UTC (rev 6997) +++ trunk/docutils/test/test_command_line.py 2011-04-01 11:47:29 UTC (rev 6998) <at> <at> -8,7 +8,7 <at> <at> Test module for the command line. """ -import os.path +from os.path import normpath, dirname import unittest import sys import DocutilsTestSupport # must be imported before docutils <at> <at> -25,37 +25,31 <at> <at> except:(Continue reading)
RSS Feed