I have two systems that run the same Django unittests suite. Some tests use the @unittest.expectedFailure decorator.
On one system, they work fine and report OK (expected failures=10, unexpected successes=2) at the end of the test run OK (expected failures=10, unexpected successes=2) .
On another system, the same test errors, but raise _ExpectedFailure and _UnexpectedSuccess without tracking.
Has anyone seen this behavior before? Is this a configuration problem? Both systems run Python 2.7, Django 1.3, and install unittest and unittest2.
source share