From fc35dcd7521317f04f491f8135faea75f433e896 Mon Sep 17 00:00:00 2001 From: Nyiro Gergo Date: Thu, 14 Jan 2016 11:25:11 +0100 Subject: session.Reporter: delete _starttime at exit The __enter__ of with statement extend the action object with _starttime and assert if it had been already extended. Therefore the __exit__ should remove the extra attribute of the action. --- tox/session.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tox/session.py b/tox/session.py index ffb52d6..f97b365 100644 --- a/tox/session.py +++ b/tox/session.py @@ -252,6 +252,7 @@ class Reporter(object): # self.cumulated_time += duration self.verbosity2("%s finish: %s after %.2f seconds" % ( action.venvname, action.msg, duration), bold=True) + delattr(action, '_starttime') def startsummary(self): self.tw.sep("_", "summary") -- cgit v1.2.1