summaryrefslogtreecommitdiff
path: root/test/test_io.py
Commit message (Collapse)AuthorAgeFilesLines
* python 2.3 alias unittest.TestCase.assertTrue (possibly reverted on next ↵grubert2012-05-011-0/+4
| | | | | | release) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7400 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix false positive with non-UTF8, non-latin1 locale encodings.milde2011-12-061-4/+9
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7248 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Tests for encoding problemsmilde2011-11-081-8/+27
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7217 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* New sub-module and test suite for error reporting.milde2011-05-191-153/+0
| | | | | | | | * Code to handle encoding/decoding errors when reporting exceptions. * Test and fix error reporting with problematic locale settings. (https://bugs.gentoo.org/show_bug.cgi?id=349101) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7037 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* in Python 3, the name for the exception instance is local to the except clausemilde2011-05-161-8/+8
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7036 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix IOError to unicode conversion and add a test case.milde2011-05-151-2/+37
| | | | | | Cf. https://bugs.gentoo.org/attachment.cgi?id=273231 git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7035 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Robust error reporting: ErrorStringmilde2011-05-131-13/+57
| | | | | | | | | A wrapper providing robust (bytes and unicode) string conversion. Prevents encoding errors with locales that have non-ASCII chars in their IOError messages, cf. https://bugs.gentoo.org/show_bug.cgi?id=349101 git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7034 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Test and use robust the error printingmilde2011-05-111-1/+75
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7031 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Convert docutils to Python 3 (at least so that it runs the test suite.)gbrandl2009-04-011-7/+8
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5889 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* adjusted name and email addresswiemann2007-05-311-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5174 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* use $Id$ instead of $Date$ and $Revision$;wiemann2006-05-211-4/+2
| | | | | | | | collapsed Author and Contact fields; use canonical email addresses for David and Felix; (I have reviewed the diff) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4564 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added code to determine the input encoding from data: encoding declarations ↵goodger2006-04-121-0/+36
| | | | | | or the presence of byte order marks (UTF-8 & UTF-16). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4506 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* corrected order of importsgoodger2005-12-031-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4132 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* test that BOMs aren't removed when input data is Unicodewiemann2005-03-271-0/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3139 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* remove BOMs from input streamswiemann2005-03-271-0/+27
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3138 929543f6-e4f2-0310-98a6-ba3bd3dd1d04