Python Raising _ExpectedFailure For Unittests With @unittest.expectedFailure
I have two systems running the same set of Django unittests. Some of the tests use the @unittest.expectedFailure decorator. On one system, these are running fine and reporting at
Solution 1:
I have the problem and I got it to work by deleting the /usr/local/lib/python2.7 and then reinstalling everything from scratch.
The reason for this I believe is that python may not have cleared it's python object and cache files(*.pyc, *.pyo) from it's working directory. That is, not YOUR project's directory but where python actually runs from.
Not sure if that's it but it worked for me!!
Post a Comment for "Python Raising _ExpectedFailure For Unittests With @unittest.expectedFailure"