aboutsummaryrefslogtreecommitdiff
path: root/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests.py')
-rwxr-xr-xtests.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests.py b/tests.py
index 707111a..74b325e 100755
--- a/tests.py
+++ b/tests.py
@@ -18,10 +18,7 @@
"""Tests the Checkstyle script used to run style checks on Java files."""
-try:
- from StringIO import StringIO
-except ImportError:
- from io import StringIO
+from StringIO import StringIO
import unittest
import checkstyle