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 | 83a9f02d5dc48ed6f66020cbaff9bfe327a283ca (patch) | |
| tree | 29a9e7de9de35e31e7a6396698f2178f7c62eeed | |
| parent | 19f8d969077e058dcd2c4201471e7f181156e512 (diff) | |
| download | docutils-83a9f02d5dc48ed6f66020cbaff9bfe327a283ca.tar.gz | |
reverted r3253, incompatible with Python 2.5
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4629 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
| -rwxr-xr-x | test/alltests.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/alltests.py b/test/alltests.py index 39f71db25..b342f6104 100755 --- a/test/alltests.py +++ b/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.""" |
