nose-devs/nose — Issue #368: Extend nose to handle expected failures
Author: jpellerin
Created: 2011-12-14 16:09:23+00:00
State: closed

Consider the following test class:

class Tester(unittest2.TestCase):

@unittest2.expectedFailure
def test_fail(self):
self.fail("test_fail will always fail")

When this test is processed by nose, the following warning is generated:

unittest2/case.py:333: DeprecationWarning: Use of a TestResult without an
addExpectedFailure method is deprecated

Apparent, the TestResult object generated by nose does not have an
addExpectedFailure method, which is used to handle expected failures.

Google Code Info:
Issue #: 325
Author: whart222
Created On: 2010-03-11T22:50:35.000Z
Closed On: 2010-03-11T23:08:01.000Z