Fix Python3.2 support

This commit is contained in:
Stanislav Kudriashev 2014-12-08 12:58:21 +02:00
parent 0929a77387
commit d78b845c11
2 changed files with 5 additions and 2 deletions

View File

@ -18,7 +18,10 @@ class TimerPlugin(Plugin):
score = 1
time_format = re.compile(r'^(?P<time>\d+)(?P<units>s|ms)?$')
_timed_tests = multiprocessing.Manager().dict()
def __init__(self):
super(TimerPlugin, self).__init__()
self._timed_tests = multiprocessing.Manager().dict()
def _time_taken(self):
if hasattr(self, '_timer'):

View File

@ -1,5 +1,5 @@
[tox]
envlist = pep8,pypy,py33,py34,py27,py26
envlist = pep8,pypy,py32,py33,py34,py27,py26
[testenv]
usedevelop = True