switch out the placeholder MarkEvaluator in unittest plugin

This commit is contained in:
Ronny Pfannschmidt 2017-09-13 12:17:08 +02:00
parent e7a4d3d8cf
commit 667e70f555
2 changed files with 2 additions and 2 deletions

View File

@ -134,8 +134,7 @@ class TestCaseFunction(Function):
try: try:
skip(reason) skip(reason)
except skip.Exception: except skip.Exception:
self._evalskip = MarkEvaluator(self, 'SkipTest') self._evalskip = True
self._evalskip.result = True
self._addexcinfo(sys.exc_info()) self._addexcinfo(sys.exc_info())
def addExpectedFailure(self, testcase, rawexcinfo, reason=""): def addExpectedFailure(self, testcase, rawexcinfo, reason=""):

1
changelog/2767.trivial Normal file
View File

@ -0,0 +1 @@
* remove unnecessary mark evaluator in unittest plugin