diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2013-07-06 16:39:44 +0200 |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2013-07-06 16:39:44 +0200 |
commit | f64fad7dd2c9d584378cf0ad4cec649998f51c3d (patch) | |
tree | 1e1881314daaaa6cb6a34aa262abc2f0ffaca3a2 /tests/test_support.py | |
parent | 2a45afc078647858857c8238f2effd928b1f0371 (diff) | |
download | babel-f64fad7dd2c9d584378cf0ad4cec649998f51c3d.tar.gz |
More work on making tests work on Python 3
Diffstat (limited to 'tests/test_support.py')
-rw-r--r-- | tests/test_support.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_support.py b/tests/test_support.py index 303fb3b..5d9bf36 100644 --- a/tests/test_support.py +++ b/tests/test_support.py @@ -11,11 +11,9 @@ # individuals. For the exact contribution history, see the revision # history and logs, available at http://babel.edgewall.org/log/. -import doctest import inspect import os import shutil -from StringIO import StringIO import tempfile import unittest import pytest @@ -24,6 +22,7 @@ from datetime import date, datetime, timedelta from babel import support from babel.messages import Catalog from babel.messages.mofile import write_mo +from babel._compat import StringIO @pytest.mark.usefixtures("os_environ") |