summaryrefslogtreecommitdiff
path: root/src/zope/tal/tests/test_files.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/zope/tal/tests/test_files.py')
-rw-r--r--src/zope/tal/tests/test_files.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/zope/tal/tests/test_files.py b/src/zope/tal/tests/test_files.py
index 9ecefd1..4393eb1 100644
--- a/src/zope/tal/tests/test_files.py
+++ b/src/zope/tal/tests/test_files.py
@@ -18,18 +18,12 @@ import glob
import os
import sys
import unittest
-
-try:
- # Python 2.x
- from cStringIO import StringIO
-except ImportError:
- # Python 3.x
- from io import StringIO
+from io import StringIO
import zope.tal.runtest
-
from zope.tal.tests import utils
+
HERE = os.path.abspath(os.path.dirname(__file__))
PARENTDIR = os.path.dirname(HERE)
PREFIX = os.path.join(HERE, "input", "test*.")