Commits

Ronald Oussoren  committed 65a3253

Tests require 'unittest2' when using python2.6, adjust setup.py for this

  • Participants
  • Parent commits 66cd181

Comments (0)

Files changed (1)

 
 
     def run(self):
-        import unittest
+        if sys.version_info[:2] <= (2,6):
+            import unittest2 as unittest
+        else:
+            import unittest
 
         # Ensure that build directory is on sys.path (py3k)