diff options
| author | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2006-06-22 19:03:06 +0000 |
|---|---|---|
| committer | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2006-06-22 19:03:06 +0000 |
| commit | 84b7aa298b3454c02dbb94e22fd82f61bed96d88 (patch) | |
| tree | 679abeb2e655f7b2c886689646789beedd39e3ba /docutils/test/alltests.py | |
| parent | a5d7fca507bb1ccde5812f2c28e45017cd982d83 (diff) | |
| download | docutils-84b7aa298b3454c02dbb94e22fd82f61bed96d88.tar.gz | |
reverted r3253, incompatible with Python 2.5
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@4629 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/alltests.py')
| -rwxr-xr-x | docutils/test/alltests.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/docutils/test/alltests.py b/docutils/test/alltests.py index 39f71db25..b342f6104 100755 --- a/docutils/test/alltests.py +++ b/docutils/test/alltests.py @@ -19,21 +19,10 @@ start = time.time() import sys import os -from types import UnicodeType import DocutilsTestSupport # must be imported before docutils import docutils -def new_exception_str(self): - for i in self.args: - if isinstance(i, UnicodeType): - raise RuntimeError('Error (unicode): %r' % (self.args,)) - return old_exception_str(self) - -old_exception_str = Exception.__str__ -Exception.__str__ = new_exception_str - - class Tee: """Write to a file and a stream (default: stdout) simultaneously.""" |
