Unpin mock 1.0.1 since it has support for Python 2.6.

This commit is contained in:
Berker Peksag 2015-09-20 06:52:55 +03:00
parent 5b823e283c
commit 811ea7880e
2 changed files with 2 additions and 7 deletions

View File

@ -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')

View File

@ -8,6 +8,5 @@ commands = py.test {posargs:tests/}
deps =
-rrequirements_test.txt
py26: unittest2
py26: mock==1.0.1
py27,pypy,py32,pypy3: mock
py2{6,7},pypy,py32,pypy3: mock
py3{3,4}: aiohttp