unittest.TestCase.assert* methods calling TestCase.fail method directly.
8 Mar
2014
8 Mar
'14
8:37 a.m.
Hi All, This is my first time on any mailing list... Please point out any mistakes.. I had a suggestion about the implementation of unittest.TestCase.assert* methods. They all call failureException separately. This is also what the unittest.TestCase.fail method does. Is there any specific reason it is so? If not, then is there any reason stopping them from calling the unittest.TestCase.fail method? As then we have one point where all the tests fail meaning that one can reimplement the unittest.TestCase.fail method for handling test failures in their own custom way. Regards, Pradyun
3673
Age (days ago)
3673
Last active (days ago)
0 comments
1 participants
participants (1)
-
Pradyun Gedam