2 new commits in tox: https://bitbucket.org/hpk42/tox/commits/e46db3903e47/ Changeset: e46db3903e47 User: nyirogergo Date: 2016-01-14 10:25:11+00:00 Summary: 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. Affected #: 1 file diff -r 2d5d0e7584cc4cc35cc7e0519ce9610dd52b7a62 -r e46db3903e47038fed2658e50fa724fde4ec2805 tox/session.py --- a/tox/session.py +++ b/tox/session.py @@ -252,6 +252,7 @@ # 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") https://bitbucket.org/hpk42/tox/commits/468a859c9e76/ Changeset: 468a859c9e76 User: obestwalter Date: 2016-06-20 14:12:55+00:00 Summary: Merged in nyirogergo/tox (pull request #188) session.Reporter: delete _starttime at exit Affected #: 1 file diff -r 8ced7a0120e13d5137921de68c2a362a35bc8c6e -r 468a859c9e7614d18fab2976829eb58dbf905e37 tox/session.py --- a/tox/session.py +++ b/tox/session.py @@ -262,6 +262,7 @@ # 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") Repository URL: https://bitbucket.org/hpk42/tox/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit