diff options
| author | LorDClockaN <lordclockan@gmail.com> | 2017-09-17 21:35:51 +0200 |
|---|---|---|
| committer | mosimchah <mosimchah@gmail.com> | 2018-11-10 17:09:02 -0500 |
| commit | 6d8acb8c88970c33fab6aeae12824a839b4c146a (patch) | |
| tree | 17ebffab130465e2577b4de19cba1ac501e0cd00 /tests.py | |
| parent | a8a50e922b39a2dba7e56030c660e1aabca168f3 (diff) | |
Change-Id: Ifded3eae4594bc3299ce6f13f644dba6dbad2db5
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 |
