|
@@ -50,12 +50,12 @@ if sys.version_info[0] == 2:
|
|
tests_require = ['fastimport', 'mock']
|
|
tests_require = ['fastimport', 'mock']
|
|
if not '__pypy__' in sys.modules and not sys.platform == 'win32':
|
|
if not '__pypy__' in sys.modules and not sys.platform == 'win32':
|
|
tests_require.extend(['gevent', 'geventhttpclient'])
|
|
tests_require.extend(['gevent', 'geventhttpclient'])
|
|
|
|
+ if sys.version_info < (2, 7):
|
|
|
|
+ tests_require.append('unittest2')
|
|
else:
|
|
else:
|
|
# fastimport, gevent, geventhttpclient are not available for PY3
|
|
# fastimport, gevent, geventhttpclient are not available for PY3
|
|
# mock only used for test_swift, which requires gevent/geventhttpclient
|
|
# mock only used for test_swift, which requires gevent/geventhttpclient
|
|
tests_require = []
|
|
tests_require = []
|
|
-if sys.version_info < (2, 7):
|
|
|
|
- tests_require.append('unittest2')
|
|
|
|
|
|
|
|
if sys.version_info[0] > 2 and sys.platform == 'win32':
|
|
if sys.version_info[0] > 2 and sys.platform == 'win32':
|
|
# C Modules don't build for python3 windows, and prevent tests from running
|
|
# C Modules don't build for python3 windows, and prevent tests from running
|