Commits

C Nelson committed aa53503

Adding an exception handler around the unittest import.

Comments (0)

Files changed (1)

 from itertools import izip
 
 #for testing all this crap
-import unittest2 as unittest
+try:
+    import unittest2 as unittest
+except ImportError:
+    import unittest
 
 if not hasattr(json, "dumps"):
     json.dumps = json.write