Changes between Version 4 and Version 5 of Ticket #24714


Ignore:
Timestamp:
Apr 27, 2015, 10:14:46 AM (10 years ago)
Author:
Alasdair Nicol
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24714 – Description

    v4 v5  
    77
    88self.assertEqual(True, x)  # self.assertTrue(x) may be appropriate, but care is needed because it will pass for truthy values
    9 self.assertEqual(False, x)  # prefer self.assertFalse(x) may be appropriate, but care is needed because it will pass for falsey values
     9self.assertEqual(False, x)  # self.assertFalse(x) may be appropriate, but care is needed because it will pass for falsey values
    1010self.assertEqual(True, x == y) # prefer self.assertEqual(x, y)
    1111}}}
Back to Top