From 65c56d4c0048d5a157668980f30da60bb0eff469 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 10 Jul 2015 19:57:48 -0300 Subject: [PATCH] Pinning mock module to < 1.1 fo py26 It has been announced that mock>=1.1 will be supported for python 2.7 only. --- tox.ini | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tox.ini b/tox.ini index d8fc77658..d9be7f410 100644 --- a/tox.ini +++ b/tox.ini @@ -12,6 +12,12 @@ deps= nose mock +[testenv:py26] +commands= py.test --lsof -rfsxX {posargs:testing} +deps= + nose + mock<1.1 # last supported version for py26 + [testenv:py27-subprocess] changedir=. basepython=python2.7