Commits

Yosuke Onoue committed 1054413

add Python3.1 test

Comments (0)

Files changed (1)

 import sys
 
 tests_require = ['nose']
-if sys.version_info < (2, 7):
+major = sys.version_info.major
+minor = sys.version_info.minor
+if major == 2 and minor < 7:
     tests_require.append('unittest2')
+elif major == 3 and minor < 2:
+    tests_require.append('unittest2py3k')
 
 setup(name='otypes',
       version='0.2.0',