test: cleanup & tweak test
diff --git a/test/test_iolib.py b/test/test_iolib.py
index 716eb0d..71c7db6 100644
--- a/test/test_iolib.py
+++ b/test/test_iolib.py
@@ -24,19 +24,9 @@
On a 9 pole DSUB these are the pins (2-3) (4-6) (7-8)
"""
-import unittest
-import sys
-
-if __name__ == '__main__' and sys.version_info < (2, 6):
- sys.stderr.write("""\
-==============================================================================
-WARNING: this test is intended for Python 2.6 and newer where the io library
-is available. This seems to be an older version of Python running.
-Continuing anyway...
-==============================================================================
-""")
-
import io
+import sys
+import unittest
import serial
# trick to make that this test run under 2.6 and 3.x without modification.