Import standard library modules first.
@@ -5,13 +5,13 @@ import sys
import logging
from xml.etree import ElementTree
-import cantools
-
try:
from StringIO import StringIO
except ImportError:
from io import StringIO
+import cantools
+
class CanToolsTest(unittest.TestCase):
