diff --git a/simple_unit_tests.py b/simple_unit_tests.py
index <HASH>..<HASH> 100644
--- a/simple_unit_tests.py
+++ b/simple_unit_tests.py
@@ -157,4 +157,9 @@ class TestParseAction(PyparsingExpressionTestCase):
     
 
 if __name__ == '__main__':
+    # we use unittest features that are in Py3 only, bail out if run on Py2
+    import sys
+    if sys.version_info[0] < 3:
+        sys.exit(0)
+        
     unittest.main()
\ No newline at end of file
simple_unit_tests.py only runs on Py3