diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2010-05-07 08:16:56 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2010-05-07 08:16:56 +0000 |
| commit | f3888be3970c6ffc9259bb054d2c9d8aaf5f8b1a (patch) | |
| tree | 1b1b71bddac047ad09a3629e42f21e05a5ac542c /docutils/test/test_readers | |
| parent | 87cfa9d99f38c846ed02308f8c33d607f71450ff (diff) | |
| download | docutils-f3888be3970c6ffc9259bb054d2c9d8aaf5f8b1a.tar.gz | |
fix testing under py3k
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6320 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/test_readers')
| -rwxr-xr-x | docutils/test/test_readers/test_python/test_functions.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/docutils/test/test_readers/test_python/test_functions.py b/docutils/test/test_readers/test_python/test_functions.py index 26b9db9c6..3109edf0c 100755 --- a/docutils/test/test_readers/test_python/test_functions.py +++ b/docutils/test/test_readers/test_python/test_functions.py @@ -10,10 +10,7 @@ Tests for PySource Reader functions. import unittest from __init__ import DocutilsTestSupport -try: - from docutils.readers.python.moduleparser import trim_docstring -except ImportError: # `compiler` module dropped from py3k - pass +from docutils.readers.python.moduleparser import trim_docstring class MiscTests(unittest.TestCase): |
