mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Unpin mock 1.0.1 since it has support for Python 2.6.
This commit is contained in:
parent
5b823e283c
commit
811ea7880e
6
setup.py
6
setup.py
@ -45,11 +45,7 @@ with open(fname) as f:
|
||||
tests_require = [l.strip() for l in f.readlines()]
|
||||
|
||||
if sys.version_info[:2] < (3, 3):
|
||||
# recent versions of mock doesn't support Python 2.6
|
||||
if sys.version_info[:2] == (2, 6):
|
||||
tests_require.append('mock==1.0.1')
|
||||
else:
|
||||
tests_require.append('mock')
|
||||
tests_require.append('mock')
|
||||
if sys.version_info[:2] < (2, 7):
|
||||
tests_require.append('unittest2')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user