diff options
Diffstat (limited to 'tests.py')
| -rwxr-xr-x | tests.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -18,7 +18,10 @@ """Tests the Checkstyle script used to run style checks on Java files.""" -from StringIO import StringIO +try: + from StringIO import StringIO +except ImportError: + from io import StringIO import unittest import checkstyle |
