diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2019-08-26 12:09:42 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2019-08-26 12:09:42 +0000 |
| commit | 0fdce7caf83f8d18ce93f6ec880c907b5ff8bede (patch) | |
| tree | 77adc2102b36e923e9ea6bd53d5e6b7048f7825f /test/test_utils.py | |
| parent | 63b3f703f16ff0dcd0024f1e871b18aed6e9d7d5 (diff) | |
| download | docutils-0fdce7caf83f8d18ce93f6ec880c907b5ff8bede.tar.gz | |
Drop support for Python 3.3
This doesn't involve a whole lot of changes, but references to Python
3.3 (plus some to the already removed Python 2.6) are removed and
'setup.py' is updated as necessary.
Signed-off-by: Stephen Finucane <stephen@that.guru>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8338 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'test/test_utils.py')
| -rwxr-xr-x | test/test_utils.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/test_utils.py b/test/test_utils.py index 07b62e11a..1be74aad5 100755 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -9,14 +9,11 @@ Test module for utils/__init__.py. """ -import unittest -import sys +from io import StringIO import os +import unittest + from DocutilsTestSupport import docutils, utils, nodes -try: - from io import StringIO -except ImportError: # io is new in Python 2.6 - from StringIO import StringIO class ReporterTests(unittest.TestCase): |
