• Michael Foord's avatar
    Better exception messages for unittest assert methods. · 345b2fe2
    Michael Foord yazdı
    - unittest.assertNotEqual() now uses the inequality operator (!=) instead
      of the equality operator.
    
    - Default assertTrue and assertFalse messages are now useful.
    
    - TestCase has a longMessage attribute. This defaults to False, but if set to True
      useful error messages are shown in addition to explicit messages passed to assert methods.
    
    Issue #5663
    345b2fe2
unittest.rst 49.4 KB